Ver código fonte

Fix bug of not destroying threads that monitor stale broadcasts.

tags/Production_4_29_2012
ymlam 13 anos atrás
pai
commit
b173c8d359
1 arquivos alterados com 4 adições e 0 exclusões
  1. +4
    -0
      src/altk/comm/engine/CommEngine.java

+ 4
- 0
src/altk/comm/engine/CommEngine.java Ver arquivo

@@ -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();
}

/**


Carregando…
Cancelar
Salvar