We don't need a DocumentWriter lock to make the session backup

This commit is contained in:
David Capello 2015-04-21 11:06:46 -03:00
parent e4f62942b7
commit 8e150dcbee

View File

@ -136,7 +136,6 @@ void Session::removeFromDisk()
void Session::saveDocumentChanges(app::Document* doc)
{
DocumentReader reader(doc, 250);
DocumentWriter writer(reader, 250);
app::Context ctx;
std::string dir = base::join_path(m_path,
base::convert_to<std::string>(doc->id()));