зеркало из https://github.com/mono/ikvm-fork.git
Set AWT/WinForms thread as Background to stop it from keeping the process alive.
This commit is contained in:
Родитель
f08dbccf2f
Коммит
14edf6e8a4
|
@ -158,7 +158,7 @@ namespace ikvm.awt
|
|||
Thread thread = new Thread(new ThreadStart(MessageLoop));
|
||||
thread.ApartmentState = ApartmentState.STA;
|
||||
thread.Name = "IKVM AWT WinForms Message Loop";
|
||||
//thread.IsBackground = true;
|
||||
thread.IsBackground = true;
|
||||
thread.Start();
|
||||
// TODO don't use polling...
|
||||
while(bogusForm == null && thread.IsAlive)
|
||||
|
|
Загрузка…
Ссылка в новой задаче