mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Stop texture watcher when closing project
This commit is contained in:
parent
fb838a766f
commit
8c4d292db8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user