From 5345939064b0dda15bc83a3a5a809ce352f5feb0 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. git-svn-id: svn://10.0.0.236/trunk@64830 18797224-902f-48f8-a5cc-f745e15eee43 --- .../org/mozilla/webclient/wrapper_native/NativeEventThread.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java b/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java index 8f071755eb0..a1c8e8d5c76 100644 --- a/mozilla/java/webclient/classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java +++ b/mozilla/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);