Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ofAppRunner: notify exit before terminating resources

Closes #770
  • Loading branch information...
commit be2b2606e2d74567abea1d30b8be0000f1103465 1 parent d8a7625
@arturoc arturoc authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  libs/openFrameworks/app/ofAppRunner.cpp
View
3  libs/openFrameworks/app/ofAppRunner.cpp
@@ -126,6 +126,8 @@ void ofSetupOpenGL(int w, int h, int screenMode){
void ofExitCallback(){
+ ofNotifyExit();
+
//------------------------
// try to close engine if needed:
ofSoundShutdown();
@@ -148,7 +150,6 @@ void ofExitCallback(){
timeEndPeriod(1);
#endif
- ofNotifyExit();
}
//--------------------------------------
Please sign in to comment.
Something went wrong with that request. Please try again.