mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
We don't need a DocumentWriter lock to make the session backup
This commit is contained in:
parent
e4f62942b7
commit
8e150dcbee
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user