mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: close project before QCoreApplication::quit when told to exit by gRPC call
This commit is contained in:
parent
a0334fc482
commit
58765ffdd4
@ -1692,6 +1692,7 @@ void RiaGuiApplication::runIdleProcessing()
|
|||||||
#ifdef ENABLE_GRPC
|
#ifdef ENABLE_GRPC
|
||||||
if (RiaGrpcServer::receivedExitRequest())
|
if (RiaGrpcServer::receivedExitRequest())
|
||||||
{
|
{
|
||||||
|
closeProject();
|
||||||
m_grpcServer->quit();
|
m_grpcServer->quit();
|
||||||
QCoreApplication::quit();
|
QCoreApplication::quit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user