1
0
Fork 0

canvas/gui.nas prevent runtime error

This commit is contained in:
Henning Stahlke 2018-12-04 14:47:20 +01:00
parent 37adcd8051
commit cce5b4ca1f

View file

@ -109,9 +109,10 @@ var Window = {
me._canvas.del(); me._canvas.del();
me._canvas = nil; me._canvas = nil;
} }
if (me._node != nil) {
me._node.remove(); me._node.remove();
me._node = nil; me._node = nil;
}
}, },
setTitle: func(title) setTitle: func(title)
{ {