Skip to content

Commit

Permalink
#148 disabled thread join on plant close because of possible hung thread
Browse files Browse the repository at this point in the history
  • Loading branch information
laforge49 committed Feb 12, 2014
1 parent b808636 commit c91e537
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ public final void execute(final UnboundReactorImpl _reactor) {
* The close method is used to stop all the threads as they become idle.
* This method sets a flag to indicate that the thread should stop
* and then wakes up all the threads.
* This method only returns after all the threads have died.
*/
// * This method only returns after all the threads have died.
public final void close() {
if (closing) {
return;
Expand All @@ -152,6 +152,7 @@ public final void close() {
t.interrupt();
}
}
/*
for (final Thread t : threads) {
if (ct != t) {
try {
Expand All @@ -162,5 +163,6 @@ public final void close() {
}
// Release the references to the thread array...
threads = null;
*/
}
}

0 comments on commit c91e537

Please sign in to comment.