Browse Source

Fix bug of not destroying threads that monitor stale broadcasts.

tags/Production_4_29_2012
ymlam 13 years ago
parent
commit
b173c8d359
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/altk/comm/engine/CommEngine.java

+ 4
- 0
src/altk/comm/engine/CommEngine.java View File

@@ -469,6 +469,9 @@ public abstract class CommEngine extends HttpServlet
{
System.out.println(engineName + " destroyed");
// Shutdown threads that periodically purge stale broadcasts.
scheduler.shutdownNow();
// Kill threads in each PostBack, which is remembered in postBackMap.
for (PostBack postback : postBackMap.values())
{
@@ -481,6 +484,7 @@ public abstract class CommEngine extends HttpServlet
}
destroyChild();
super.destroy();
}

/**


Loading…
Cancel
Save