canvas/gui.nas prevent runtime error
This commit is contained in:
parent
37adcd8051
commit
cce5b4ca1f
1 changed files with 4 additions and 3 deletions
|
@ -109,9 +109,10 @@ var Window = {
|
|||
me._canvas.del();
|
||||
me._canvas = nil;
|
||||
}
|
||||
|
||||
if (me._node != nil) {
|
||||
me._node.remove();
|
||||
me._node = nil;
|
||||
}
|
||||
},
|
||||
setTitle: func(title)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue