Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.0.0-beta3
-
None
Description
Since the event subscriptions may cross different sessions, before entering request cycles of notified page, the ThreadContext should be detached except application instance.
In EventBus#post(Object event), ThreadContext.detach() should be placed inside the for-loop block of atmosphere resources,
otherwise Session().get() may return previous page's session.