Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351148 - Simplify SessionShutdownAdapter
Summary: Simplify SessionShutdownAdapter
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 341761
  Show dependency tree
 
Reported: 2011-07-05 04:59 EDT by Rüdiger Herrmann CLA
Modified: 2011-09-12 06:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rüdiger Herrmann CLA 2011-07-05 04:59:36 EDT
The shape of the SessionShutdownAdapter still prepares fdor two shutdown-scenarios:
a) the session is invalidated while the UI thread is alive
b) the UI thread has terminated (i.e. used closed the appllication) when the session is invalidated
With the current implementation, the UI thread is kept alive in any case so that only variant a) is needed any more. The code to support variant b) should be removed and the SessionShutdownAdapter should be refactored to serve the reduced requirements.