Avoid repetitive message on eclipse about session inactivated
This commit is contained in:
parent
ce09c51372
commit
a70916d6e7
|
@ -88,7 +88,11 @@ public class DashboardRunnable implements Runnable, Serializable
|
|||
boolean isEventThread = Events.inEventListener();
|
||||
if (!isEventThread)
|
||||
{
|
||||
try {
|
||||
ctx = (Properties)template.getDesktop().getSession().getAttribute(SessionContextListener.SESSION_CTX);
|
||||
} catch (Exception e) {
|
||||
ctx = null;
|
||||
}
|
||||
if (ctx == null)
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue