mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-10 00:12:56 -04:00
ok so this runs but is still lacking the deletion logic
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
|
||||
#include "serverDatabase/Persister.h"
|
||||
#include "serverDatabase/Snapshot.h"
|
||||
#include "sharedFoundation/NetworkIdArchive.h" //TODO: Windows build breaks without this. Why? Makes no sense.
|
||||
|
||||
// ======================================================================
|
||||
|
||||
@@ -31,8 +30,6 @@ void TaskSaveSnapshot::onComplete()
|
||||
{
|
||||
m_snapshot->saveCompleted();
|
||||
Persister::getInstance().saveCompleted(m_snapshot);
|
||||
delete m_snapshot;
|
||||
m_snapshot = nullptr;
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
|
||||
Reference in New Issue
Block a user