|
@@ -237,6 +237,8 @@ class DomkitViewer extends h2d.Object {
|
|
|
|
|
|
override function onRemove() {
|
|
override function onRemove() {
|
|
super.onRemove();
|
|
super.onRemove();
|
|
|
|
+ if( currentObj != null )
|
|
|
|
+ currentObj.remove();
|
|
for( r in variablesFiles )
|
|
for( r in variablesFiles )
|
|
r.watch(null);
|
|
r.watch(null);
|
|
style.cssParser.variables = baseVariables;
|
|
style.cssParser.variables = baseVariables;
|