Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix for the issue #937 and crashes:
[modules/shaper.git]
/
src
/
Model
/
Model_Application.cpp
diff --git
a/src/Model/Model_Application.cpp
b/src/Model/Model_Application.cpp
index 4a77ae9ef42f7afc79e077acbe72349aacfef8a9..4dddb449daf686c24185616677b8f45a6df6bed1 100644
(file)
--- a/
src/Model/Model_Application.cpp
+++ b/
src/Model/Model_Application.cpp
@@
-64,7
+64,7
@@
void Model_Application::deleteAllDocuments()
{
std::map<std::string, std::shared_ptr<Model_Document> >::iterator aDoc = myDocs.begin();
for(; aDoc != myDocs.end(); aDoc++) {
- aDoc->second->close();
+ aDoc->second->close(
true
);
}
myDocs.clear();
myLoadedByDemand.clear();