Nicolas Cannasse 3 gadi atpakaļ
vecāks
revīzija
44e137d1e2
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      other/memory/Block.hx

+ 1 - 0
other/memory/Block.hx

@@ -124,6 +124,7 @@ class Block {
 	public function markDepth() {
 	public function markDepth() {
 		var d = depth + 1;
 		var d = depth + 1;
 		var all = subs;
 		var all = subs;
+		if( all == null ) return;
 		while( all.length > 0 ) {
 		while( all.length > 0 ) {
 			var out = [];
 			var out = [];
 			for( b in all ) {
 			for( b in all ) {