From 9f827678b5d921947aa8105b8bde22e118dbb692 Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Sat, 1 Apr 2000 01:17:33 +0000 Subject: [PATCH] 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. --- .../org/mozilla/webclient/wrapper_native/NativeEventThread.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java b/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java index 8f071755eb0b..a1c8e8d5c762 100644 --- a/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java +++ b/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java @@ -172,6 +172,7 @@ public void delete() public void run() { + this.setPriority(Thread.MIN_PRIORITY); Assert.assert(-1 != nativeWebShell); Assert.assert(null != windowControl);