From: vsr Date: Sat, 28 Dec 2019 09:38:42 +0000 (+0300) Subject: bos #17678 Prevent terminating SALOMEDS server when calling Shutdown() X-Git-Tag: EMC2P_V_1_2_0~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f1bcf621cde0f68c24412f8f84cacbaab3652af;p=modules%2Fkernel.git bos #17678 Prevent terminating SALOMEDS server when calling Shutdown() --- diff --git a/src/SALOMEDS/SALOMEDS_Study_i.cxx b/src/SALOMEDS/SALOMEDS_Study_i.cxx index 6573f4e0d..e5a26a9fb 100644 --- a/src/SALOMEDS/SALOMEDS_Study_i.cxx +++ b/src/SALOMEDS/SALOMEDS_Study_i.cxx @@ -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 } //============================================================================