Bug 1509 : exit() doesn't
Last modified: 2010-03-14 19:17




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
Phillip M. Feldman
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-03-13 22:27
According to the documentation, "Rather than terminating immediately,
exit() will cause the sketch to exit after draw() has completed (or after
setup() completes if called during the setup()
method)." But, this is not the behavior that I'm seeing. My program appears
to continue running indefinitely, i.e., draw() and move() are invoked again
and again after my program has called exit().
Additional Comment #1 From fry 2010-03-14 09:37
i need an example.
Additional Comment #2 From Phillip M. Feldman 2010-03-14 19:07
OK. It looks as though I've misunderstood how this is supposed to work. I
was expecting `exit()` to terminate the processing environment, and it
doesn't do this. This might just be a documentation issue.

Thanks!

Phillip