Browse Source

When destroying patch (e.g. on close), dispatch onSave to all Modules so they save their patch storage, etc.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
9d3d1143ea
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/patch.cpp

+ 2
- 0
src/patch.cpp View File

@@ -30,6 +30,8 @@ Manager::Manager() {




Manager::~Manager() { Manager::~Manager() {
// Dispatch onSave to all Modules so they save their patch storage, etc.
APP->engine->prepareSave();
cleanAutosave(); cleanAutosave();
} }




Loading…
Cancel
Save