FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 702 : exit doesn't work in some cases
Last modified: 2007-12-15 07:42
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
DUPLICATE of bug
694
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
kontrol
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-12-14 10:11
osx tiger, 2.0ghz macbook
exit doesnt work in this case.
void draw() {
}
void mousePressed() {
exit();
}
if i do a class thats exits it does work
hello exampleObject
void setup(){
size(200,200);
exampleObject = new hello();
}
void draw(){
exampleObject.example();
}
class hello{
void example(){
exit();
}
}
Additional Comment
#1 From kontrol 2007-12-14 10:12
it was suppossed to say "hello exampleObject;" not "hello exampleObject"
Additional Comment
#2 From fry 2007-12-15 07:42
*** This bug has been marked as a duplicate of
694
***