[Pharo-project] Issue 3675 in pharo: ProcessBrowser>>cleanup

pharo at googlecode.com pharo at googlecode.com
Sun Feb 6 22:54:58 CET 2011


Status: Accepted
Owner: stephane... at gmail.com
CC: laurent.... at gmail.com
Labels: Milestone-1.3 Type-Squeak Difficulty-Easy

New issue 3675 by stephane... at gmail.com: ProcessBrowser>>cleanup
http://code.google.com/p/pharo/issues/detail?id=3675

Name: 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]]!





More information about the Pharo-project mailing list