fix: delete internal, no setter

This commit is contained in:
cha0s 2019-03-25 18:54:54 -05:00
parent e1fe932495
commit 3d670c6189

View File

@ -16,7 +16,7 @@ export class Renderable {
destroy() {
if (this.internal) {
this.internal.destroy();
this.internal = undefined;
delete this.internal;
}
}