Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322819 - DebugSessionManager waits forever when re-launching many times
Summary: DebugSessionManager waits forever when re-launching many times
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 3.3 M2   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 13:07 EDT by Michael Rennie CLA
Modified: 2010-12-07 10:30 EST (History)
1 user (show)

See Also:


Attachments
proposed fix (982 bytes, patch)
2010-08-16 13:07 EDT, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-08-16 13:07:13 EDT
Created attachment 176701 [details]
proposed fix

code from HEAD

re-launching Rhino many times in a row can lead to the DebugSessionManager waiting indefinitely to stop, which can lead to a pile of leaked processes on the host machine.

One solution would be to poll and not block forever.

Simon, please have a look at the patch.
Comment 1 Michael Rennie CLA 2010-08-16 16:48:24 EDT
applied to HEAD