Stop texture watcher when closing project

This commit is contained in:
JannisX11 2021-02-04 17:23:20 +01:00
parent fb838a766f
commit 8c4d292db8

View File

@ -65,6 +65,7 @@ class ModelProject {
Cube.selected.empty();
Locator.all.empty();
Locator.selected.empty();
Texture.all.forEach(tex => tex.stopWatcher());
Texture.all.empty();
Texture.selected = undefined;