Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 351148

Summary: Simplify SessionShutdownAdapter
Product: [RT] RAP Reporter: RĂ¼diger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 341761    

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.