From 0f1bcf621cde0f68c24412f8f84cacbaab3652af Mon Sep 17 00:00:00 2001 From: vsr Date: Sat, 28 Dec 2019 12:38:42 +0300 Subject: [PATCH] bos #17678 Prevent terminating SALOMEDS server when calling Shutdown() --- src/SALOMEDS/SALOMEDS_Study_i.cxx | 1 + 1 file changed, 1 insertion(+) 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 } //============================================================================ -- 2.39.2