From: vsr Date: Tue, 22 Sep 2009 14:33:45 +0000 (+0000) Subject: Fix SIGSEGV on dialog boxes closing X-Git-Tag: V5_1_3rc1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe345c70bbda3c5665090416297b7b077f5b1dd2;p=modules%2Fgeom.git Fix SIGSEGV on dialog boxes closing --- diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx index 1b8235f6e..1bb44f33e 100755 --- a/src/GEOMBase/GEOMBase_Helper.cxx +++ b/src/GEOMBase/GEOMBase_Helper.cxx @@ -106,7 +106,8 @@ GEOMBase_Helper::~GEOMBase_Helper() if (myDisplayer) delete myDisplayer; - myOperation->Destroy(); + if ( !CORBA::is_nil( myOperation ) ) + myOperation->Destroy(); } //================================================================