浏览代码

make uploadTextures not blocking

Nicolas Cannasse 2 月之前
父节点
当前提交
12e76ed1f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/impl/AsyncLoader.hx

+ 1 - 1
hxd/impl/AsyncLoader.hx

@@ -23,7 +23,7 @@ class ThreadAsyncLoader implements AsyncLoader {
 		deque = new sys.thread.Deque();
 		lock = new sys.thread.Lock();
 		sys.thread.Thread.create(threadLoop);
-		haxe.MainLoop.add(uploadTextures);
+		haxe.MainLoop.add(uploadTextures).isBlocking = false;
 	}
 
 	function threadLoop() {