Browse Source

fixed log clear without previous log

Nicolas Cannasse 18 years ago
parent
commit
d1dcf60df7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      std/flash9/Boot.hx

+ 2 - 0
std/flash9/Boot.hx

@@ -81,6 +81,8 @@ class Boot extends flash.display.MovieClip {
 	}
 
 	public static function __clear_trace() {
+		if( tf == null )
+			return;
 		flash.Lib.current.removeChild(tf);
 		tf = null;
 		lines = new Array();