final part of fix: move saving of buffers into SwgSnapshot - it crashes if called from the parent class

This commit is contained in:
DarthArgus
2016-12-14 01:48:59 +00:00
parent e0884e9149
commit 1b39af27b2
2 changed files with 36 additions and 8 deletions
@@ -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);