This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Prevent wrong SaveState leak detection on close
tags/1.9.4
falkTX
11 years ago
parent
207fd900cc
commit
8f6bb6c821
2 changed files
with
6 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
source/backend/engine/CarlaEngine.cpp
+3
-0
source/utils/CarlaStateUtils.hpp
+ 3
- 0
source/backend/engine/CarlaEngine.cpp
View File
@@ -1196,6 +1196,9 @@ bool CarlaEngine::loadProject(const char* const filename)
node = node.nextSibling();
}
// prevent wrong leak detection on close
getSaveStateDictFromXML(QDomNode());
return true;
}
+ 3
- 0
source/utils/CarlaStateUtils.hpp
View File
@@ -226,6 +226,9 @@ const SaveState& getSaveStateDictFromXML(const QDomNode& xmlNode)
static SaveState saveState;
saveState.reset();
if (xmlNode.isNull())
return saveState;
QDomNode node(xmlNode.firstChild());
while (! node.isNull())
Write
Preview
Loading…
Cancel
Save