]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
bos #17678 Prevent terminating SALOMEDS server when calling Shutdown()
authorvsr <vsr@opencascade.com>
Sat, 28 Dec 2019 09:38:42 +0000 (12:38 +0300)
committervsr <vsr@opencascade.com>
Sat, 28 Dec 2019 09:38:42 +0000 (12:38 +0300)
src/SALOMEDS/SALOMEDS_Study_i.cxx

index 6573f4e0d5a82566db5ef55224f892f77fee6cd3..e5a26a9fb7581b4b25f0f389c56d7ce00cefa741 100644 (file)
@@ -1616,6 +1616,7 @@ void SALOMEDS_Study_i::Shutdown()
 {
   if(!CORBA::is_nil(_orb))
     _orb->shutdown(0);
+  _closed  = true; // force 'closed' flag to avoid terminating
 }
 
 //============================================================================