mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-29 23:15:56 -04:00
nit picking on unrelated to the leak things...
This commit is contained in:
@@ -30,9 +30,6 @@ void TaskSaveSnapshot::onComplete()
|
||||
{
|
||||
m_snapshot->saveCompleted();
|
||||
Persister::getInstance().saveCompleted(m_snapshot);
|
||||
|
||||
// delete m_snapshot;
|
||||
// m_snapshot = nullptr;
|
||||
}
|
||||
|
||||
// ======================================================================
|
||||
|
||||
@@ -3235,12 +3235,10 @@ bool ServerObject::persist()
|
||||
ServerObject *parent = static_cast<ServerObject*>(ContainerInterface::getContainedByObject(*this));
|
||||
if (parent && !parent->isPersisted())
|
||||
{
|
||||
WARNING(true, ("Persisting %s into %s which is not persisted!", getNetworkId().getValueString().c_str(), parent->getNetworkId().getValueString().c_str()));
|
||||
WARNING(true, ("Persisting %s into %s, which is not persisted!", getNetworkId().getValueString().c_str(), parent->getNetworkId().getValueString().c_str()));
|
||||
}
|
||||
#endif
|
||||
|
||||
m_persisted = true;
|
||||
|
||||
markChildrenPersisted();
|
||||
sendCreateAndBaselinesToDatabaseServer();
|
||||
|
||||
|
||||
+2
@@ -105,6 +105,8 @@ IndexedNetworkTableBuffer<BUFFERROW,ROW,QUERY,SELECTQUERY>::~IndexedNetworkTable
|
||||
++m_sRowsDeleted;
|
||||
i->second=nullptr;
|
||||
}
|
||||
|
||||
m_rows.clear();
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user