class: DeviceWorkstation
authorClaus Gittinger <cg@exept.de>
Wed, 07 May 2014 22:28:33 +0200
changeset 6469 811deec63527
parent 6468 2fd167f08b5d
child 6470 cdcc01e0ce13
class: DeviceWorkstation changed: #removeKnownView:withId: care for just reclaimed entry in knownViews (which is a weakArray)
DeviceWorkstation.st
--- a/DeviceWorkstation.st	Wed May 07 15:17:13 2014 +0200
+++ b/DeviceWorkstation.st	Wed May 07 22:28:33 2014 +0200
@@ -7705,7 +7705,9 @@
 
         wasBlocked ifFalse:[OperatingSystem unblockInterrupts].
 
-        (viewToRemove notNil and:[viewToRemove isTopView]) ifTrue:[
+        (viewToRemove notNil 
+          and:[ viewToRemove ~~ 0 
+          and:[ viewToRemove isTopView ]]) ifTrue:[
             "/ check for sparsely filled knownViews - array
             wasBlocked := OperatingSystem blockInterrupts.
             n := 0.
@@ -8342,11 +8344,11 @@
 !DeviceWorkstation class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.614 2014-04-28 09:05:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.615 2014-05-07 20:28:33 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.614 2014-04-28 09:05:17 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/DeviceWorkstation.st,v 1.615 2014-05-07 20:28:33 cg Exp $'
 ! !