Status: Accepted
Owner:
[hidden email]
CC:
[hidden email]
Labels: Milestone-1.3 Type-Squeak Difficulty-Easy
New issue 3675 by
[hidden email]: ProcessBrowser>>cleanup
http://code.google.com/p/pharo/issues/detail?id=3675Name: Tools-mtf.290
Author: mtf
Time: 12 January 2011, 7:36:30.491 pm
UUID: 4f8986b8-f97f-416f-989f-2b0b686d9c73
Ancestors: Tools-cmm.289
add a cleanUp method to ProcessBrowser as it can sometimes hold on to
terminated processes
=============== Diff against Tools-cmm.289 ===============
Item was added:
+ ----- Method: ProcessBrowser class>>cleanUp (in category 'class
initialization') -----
+ cleanUp
+ "Remove terminated processes from my suspended list"
+
+ self suspendedProcesses keys do: [:ea |
+ ea isTerminated ifTrue: [self suspendedProcesses removeKey:
ea]]!