]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
BugID: PAL8727, fixed method _SaveAs. Added a pair unlock/lock around a method Trans...
authorsrn <srn@opencascade.com>
Tue, 31 May 2005 09:44:13 +0000 (09:44 +0000)
committersrn <srn@opencascade.com>
Tue, 31 May 2005 09:44:13 +0000 (09:44 +0000)
src/SALOMEDS/SALOMEDS_StudyManager_i.cxx

index 4a95593e32a069daaa1c46b19fe542849344a8f5..3207f78a05e087f8339a03ad0bf38d0c690e9eb7 100644 (file)
@@ -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