浏览代码

fixed clear()

Nicolas Cannasse 17 年之前
父节点
当前提交
d79862e137
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/List.hx

+ 1 - 0
std/List.hx

@@ -138,6 +138,7 @@ class List<T> {
 	**/
 	public function clear() : Void {
 		h = null;
+		q = null;
 		length = 0;
 	}