Nicolas Cannasse 19 년 전
부모
커밋
a381bae0d2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      std/Hash.hx

+ 3 - 3
std/Hash.hx

@@ -32,9 +32,9 @@ class Hash<T> {
 		h = untyped __dollar__hnew(0);
 		#else js
 		h = Reflect.empty();
-		untyped {
-			if( h.__proto__ != null )
-				delete(h.__proto__);
+		untyped if( h.__proto__ != null ) {
+			h.__proto__ = null;
+			delete(h.__proto__);
 		}
 		#else error
 		#end