Adding this line to the top of the run() method in

NativeEventThread seems to fix the hanging problem.

    this.setPriority(Thread.MIN_PRIORITY);


Looks like it was starvation.
This commit is contained in:
edburns%acm.org 2000-04-01 01:17:33 +00:00
Родитель cc9495c839
Коммит 9f827678b5
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -172,6 +172,7 @@ public void delete()
public void run()
{
this.setPriority(Thread.MIN_PRIORITY);
Assert.assert(-1 != nativeWebShell);
Assert.assert(null != windowControl);