diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-02-17 11:01:02 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-02-17 11:01:02 +0100 |
commit | 22f005372107b9c6023fd30efc47e2c616727de2 (patch) | |
tree | 109ed3065d6f1cb3e150f109d1c4ba39ed0737b8 /java/src/IceInternal/ThreadPool.java | |
parent | Bug 3668 - C# translator generates bogus code for metadata. (diff) | |
download | ice-22f005372107b9c6023fd30efc47e2c616727de2.tar.bz2 ice-22f005372107b9c6023fd30efc47e2c616727de2.tar.xz ice-22f005372107b9c6023fd30efc47e2c616727de2.zip |
Fixed bug 3734 and added comment for bug 3619
Diffstat (limited to 'java/src/IceInternal/ThreadPool.java')
-rw-r--r-- | java/src/IceInternal/ThreadPool.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/IceInternal/ThreadPool.java b/java/src/IceInternal/ThreadPool.java index e45ef281f50..4a84278ab6c 100644 --- a/java/src/IceInternal/ThreadPool.java +++ b/java/src/IceInternal/ThreadPool.java @@ -697,6 +697,12 @@ public final class ThreadPool --_inUse; } + // + // Do not wait to be promoted again to release these objects. + // + handler = null; + workItem = null; + while(!_promote) { try |