GL.LINE resetting canvas / restart drawing / remove old lines

Hi
I recently found the GL shader with the GL.LINES option. Works great, but I can’t seem to replace old lines. The only way I get the screen to clear is by not drawing anything and that flickers. So imagine two spheres connected by a line, no problem. Now I want the spheres to move and the line to follow, the way I do it:

Lines just start to fill the whole screen because new lines are added each frame, instead of being replaced.
The .Clear() and .ClearWithCamera() don’t seem to do the trick either.
Any help appreciated.

I found the Answer:
The .Clear() clears whatever has been rendered in the frame before the GL is applied, so it is has actually nothing to do with the situation.

Actually there is nothing wrong with the code Unity provides, the canvas is not stored, I wasn’t clearing my Vertex List, so the new vertices were added each frame due to my blunder.
So question is mute, my bad sorry for this post.