Hi all!
Having some trouble exiting an App.
When i press the home button to exit the app i get this strange error on this function:
void ofAppiPhoneWindow::startAppWithDelegate(string appDelegateClassName) {
if( bAppCreated )
return;
bAppCreated = true;
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
UIApplicationMain(nil, nil, nil, [[[NSString alloc] initWithCString: appDelegateClassName.c_str()] autorelease]);
[pool release];
}
The error is on line 8.
And this message in the terminal “libc++abi.dylib: terminate called throwing an exception”
I’m not sure but I think that this started to happen when i add some png files to my app, i’ve already wrote a function that unload all the graphics when exiting, in case of a memory leak but with no successes.
The problem is that i can’t open the app again in the iPad, i have to build and run it again!
Can’t find any topic on the forum about this. Anyone knows what’s happening?
thanks in advance.
dot