Skip to content
Permalink
Browse files
Delete QgisApp on destruction in order to get the destructor called (#…
…3531).

Let's hope it will not bring any crashes when qgis exits...


git-svn-id: http://svn.osgeo.org/qgis/trunk@15751 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 17, 2011
1 parent 191ffdf commit 99a32059eeea7c9e0abc33781f3c4f8485b5f0fa
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/main.cpp
@@ -730,5 +730,7 @@ int main( int argc, char *argv[] )

qgis->completeInitialization();

return myApp.exec();
int retval = myApp.exec();
delete qgis;
return retval;
}

0 comments on commit 99a3205

Please sign in to comment.