From: mpv Date: Tue, 26 May 2015 09:54:08 +0000 (+0300) Subject: Several opens of different and same documents crash fix X-Git-Tag: V_1.2.0~78^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c333c86221d771e9731ac274bed4e9dc4270d059;p=modules%2Fshaper.git Several opens of different and same documents crash fix --- diff --git a/src/Model/Model_Application.cpp b/src/Model/Model_Application.cpp index 4a77ae9ef..4dddb449d 100644 --- a/src/Model/Model_Application.cpp +++ b/src/Model/Model_Application.cpp @@ -64,7 +64,7 @@ void Model_Application::deleteAllDocuments() { std::map >::iterator aDoc = myDocs.begin(); for(; aDoc != myDocs.end(); aDoc++) { - aDoc->second->close(); + aDoc->second->close(true); } myDocs.clear(); myLoadedByDemand.clear();