瀏覽代碼

Revert "[java] don't mark Haxe threads as daemon threads (fixes #8131)"

This reverts commit 2ddab520561686c2705c61fa86d92dafd7aef990.
Alexander Kuzmenko 6 年之前
父節點
當前提交
8133e513d5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/java/_std/sys/thread/Thread.hx

+ 1 - 0
std/java/_std/sys/thread/Thread.hx

@@ -120,5 +120,6 @@ private class HaxeThread extends java.lang.Thread
 		super();
 		super();
 		threadObject = hxThread;
 		threadObject = hxThread;
 		runFunction = run;
 		runFunction = run;
+		setDaemon(true);
 	}
 	}
 }
 }