mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
final part of fix: move saving of buffers into SwgSnapshot - it crashes if called from the parent class
This commit is contained in:
@@ -87,14 +87,6 @@ bool Snapshot::saveToDB(DB::Session *session)
|
||||
return false;
|
||||
}
|
||||
|
||||
for (BufferListType::iterator buffer=m_bufferList.begin(); buffer!=m_bufferList.end(); ++buffer)
|
||||
{
|
||||
if (! (*buffer)->save(session)) {
|
||||
m_isBeingSaved = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
for (step=m_customStepList.begin(); step !=m_customStepList.end(); ++step)
|
||||
{
|
||||
NOT_NULL(*step);
|
||||
|
||||
Reference in New Issue
Block a user