From: srn Date: Tue, 31 May 2005 09:44:13 +0000 (+0000) Subject: BugID: PAL8727, fixed method _SaveAs. Added a pair unlock/lock around a method Trans... X-Git-Tag: T2_2_4a~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=087329d5dd5019d7a0673dba41f07af539b87a6c;p=modules%2Fkernel.git BugID: PAL8727, fixed method _SaveAs. Added a pair unlock/lock around a method Translate_IOR_to_persistentID --- diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx index 4a95593e3..3207f78a0 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx @@ -863,7 +863,9 @@ void SALOMEDS_StudyManager_i::_SaveAs(const char* aUrl, hdf_dataset->CloseOnDisk(); hdf_dataset=0; //will be deleted by hdf_sco_AuxFiles destructor + SALOMEDS::unlock(); //srn: fix for bug PAL8727 Translate_IOR_to_persistentID(aStudy,SB,sco,Engine,theMultiFile, theASCII); + SALOMEDS::lock(); //srn: fix for bug PAL8727 MESSAGE("After Translate_IOR_to_persistentID"); // Creation of the persistance reference attribute