fix: destroy

This commit is contained in:
cha0s 2019-03-28 04:19:42 -05:00
parent 9fc749fdad
commit 72cae2a402

View File

@ -101,7 +101,7 @@ if (module.hot) {
console.error(error);
});
module.hot.dispose(() => {
entityList.destroy();
room.destroy();
appNode.removeChild(renderer.element);
stage.destroy();
renderer.destroy();