mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-02 03:16:11 -04:00
if this builds i think it will fix the mem issue
This commit is contained in:
@@ -32,6 +32,8 @@ void TaskSaveSnapshot::onComplete()
|
||||
{
|
||||
m_snapshot->saveCompleted();
|
||||
Persister::getInstance().saveCompleted(m_snapshot);
|
||||
delete m_snapshot;
|
||||
m_snapshot = nullptr; // just in case some brilliant SOE BS uses it again somewhere before this class object is nuked
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
|
||||
Reference in New Issue
Block a user