Explorar el Código

Fix bug of not destroying threads that monitor stale broadcasts.

tags/Production_4_29_2012
ymlam hace 13 años
padre
commit
b173c8d359
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. +4
    -0
      src/altk/comm/engine/CommEngine.java

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

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

/**


Cargando…
Cancelar
Guardar