IDEMPIERE-5049 Zk Session and Desktop object not destroy immediately after logout (#1164)
Fix desktop doesn't timeout after access through http
This commit is contained in:
parent
661550375e
commit
5a98f91a8a
|
@ -151,7 +151,6 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
|
|||
this.getPage().setTitle(ThemeManager.getBrowserTitle());
|
||||
|
||||
Executions.getCurrent().getDesktop().enableServerPush(true);
|
||||
DesktopWatchDog.addDesktop(Executions.getCurrent().getDesktop());
|
||||
|
||||
SessionManager.setSessionApplication(this);
|
||||
final Session session = Executions.getCurrent().getDesktop().getSession();
|
||||
|
|
|
@ -137,6 +137,7 @@ public class Statistic implements Monitor {
|
|||
public void desktopCreated(Desktop desktop) {
|
||||
_ndt.increment();
|
||||
_actdt.increment();
|
||||
DesktopWatchDog.addDesktop(desktop);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue