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