2
0
Эх сурвалжийг харах

[python] updated sys.thread.Thread according to #10501

Aleksandr Kuzmenko 3 жил өмнө
parent
commit
0d49a80e0a

+ 1 - 1
std/python/_std/sys/thread/Thread.hx

@@ -124,7 +124,7 @@ private class HxThread {
 			}
 			}
 			dropThread(nt);
 			dropThread(nt);
 		}
 		}
-		nt = new NativeThread(null, wrappedCallB);
+		nt = new NativeThread({target:wrappedCallB});
 		t = new HxThread(nt);
 		t = new HxThread(nt);
 		if(withEventLoop)
 		if(withEventLoop)
 			t.events = new EventLoop();
 			t.events = new EventLoop();