Skip to content

Commit

Permalink
Cleanly exit QgsApplication from qgis_process runs
Browse files Browse the repository at this point in the history
Fixes #50623
  • Loading branch information
nyalldawson committed Nov 19, 2022
1 parent 38cf6ea commit a46b015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/process/main.cpp
Expand Up @@ -117,6 +117,7 @@ int main( int argc, char *argv[] )
QTimer::singleShot( 0, &app, [&exec, args, &res]
{
res = exec.run( args );
QgsApplication::exitQgis();
QCoreApplication::exit( res );
} );
return app.exec();
Expand Down

0 comments on commit a46b015

Please sign in to comment.