exit()... doesn't #21

aparrish opened this Issue Sep 18, 2011 · 1 comment

2 participants


You would expect the window and application to close after you press a key. The window does close, but the application keeps running!

exit_flag = False

def setup():
  size(200, 200)

def draw():
  if exit_flag:

def keyPressed():
  global exit_flag
  exit_flag = True

The analogous code in regular old Processing does seem to function as expected, so I suspect this is a processing.py-specific bug.

@jdf jdf pushed a commit that closed this issue Dec 15, 2011
@google-feinberg google-feinberg Fix #21 - exit() doesn't f3b64f8
@jdf jdf closed this in f3b64f8 Dec 15, 2011


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment