checkin from browser
authorClaus Gittinger <cg@exept.de>
Tue, 31 Aug 1999 00:19:17 +0200
changeset 2370 453caa0c1907
parent 2369 e0164ab47abd
child 2371 7ce8ba08aca1
checkin from browser
MemoryMonitorView.st
--- a/MemoryMonitorView.st	Sun Aug 29 03:14:39 1999 +0200
+++ b/MemoryMonitorView.st	Tue Aug 31 00:19:17 1999 +0200
@@ -558,10 +558,12 @@
 
 destroy
     updateBlock notNil ifTrue:[
-	Processor removeTimedBlock:updateBlock.
+        Processor removeTimedBlock:updateBlock.
     ] ifFalse:[
-	myProcess terminate.
-	myProcess := nil
+        myProcess notNil ifTrue:[
+            myProcess terminate.
+            myProcess := nil
+        ]
     ].
     oldData := newData := freeData := nil.
     super destroy
@@ -951,5 +953,5 @@
 !MemoryMonitorView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.3 1999-08-29 01:14:39 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/MemoryMonitorView.st,v 1.4 1999-08-30 22:19:17 cg Exp $'
 ! !