Issue 3672 in pharo: Prevent that the SyntaxError window leaves a suspended compiler process behind on window close

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue 3672 in pharo: Prevent that the SyntaxError window leaves a suspended compiler process behind on window close

pharo
Status: FixedWaitingToBePharoed
Owner: [hidden email]
Labels: Type-Squeak

New issue 3672 by [hidden email]: Prevent that the SyntaxError  
window leaves a suspended compiler process behind on window close
http://code.google.com/p/pharo/issues/detail?id=3672

Name: Tools-laza.291
Author: laza
Time: 26 January 2011, 1:41:13.31 pm
UUID: 6daf6a43-2737-ca44-90a4-ce11386f5bd1
Ancestors: Tools-mtf.290

Prevent that the SyntaxError window leaves a suspended compiler process  
behind on window close

=============== Diff against Tools-mtf.290 ===============

Item was changed:
+ ----- Method: SyntaxError>>category: (in category 'accessing') -----
- ----- Method: SyntaxError>>category: (in category 'initialization') -----
  category: aSymbol
        "Record the message category of method being compiled. This is used  
when the user corrects the error and accepts."

        category := aSymbol.
  !

Item was added:
+ ----- Method: SyntaxError>>release (in category 'initialize-release')  
-----
+ release
+       | p |
+       (debugger isNil or: [
+               (p := debugger interruptedProcess) isNil or: [
+                       p isTerminated]]) ifTrue: [^self].
+
+       p terminate!