Bug 702 : exit doesn't work in some cases
Last modified: 2007-12-15 07:42




Status:
RESOLVED
Resolution:
DUPLICATE of bug 694
Priority:
P2
Severity:
normal

 

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 ***