Python: close project before QCoreApplication::quit when told to exit by gRPC call

This commit is contained in:
Gaute Lindkvist 2019-06-06 14:17:08 +02:00
parent a0334fc482
commit 58765ffdd4

View File

@ -1692,6 +1692,7 @@ void RiaGuiApplication::runIdleProcessing()
#ifdef ENABLE_GRPC
if (RiaGrpcServer::receivedExitRequest())
{
closeProject();
m_grpcServer->quit();
QCoreApplication::quit();
}