Set AWT/WinForms thread as Background to stop it from keeping the process alive.

This commit is contained in:
jfrijters 2007-03-09 07:11:52 +00:00
Родитель f08dbccf2f
Коммит 14edf6e8a4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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)