how do you end a polygon

I’ve been using the grease pencil alot more since the release of bsurfaces, but have on reoccurring problem. I cant figure out how to stop drawing a polygon. If i accidentally hit right mouse button while holding control D it starts drawing a polygon, and icant make it stop. even undoing won’t end the polygon, so everytime i click it draws a line to the mouse cursor. while in this mode i cant interact with any buttons either, so i essentially am forced to close blender without saving. so, how do I get out of this mode?

I can’t reproduce this problem on my version of Blender, but have you tried pressing the Escape key on your keyboard to see if it stop your grease pencil session ?

I think its enter to tell it to stop drawing the poly and convert it. try that