UIPainter.st
changeset 2507 42c9db715d33
parent 2500 3e2feb544801
child 2511 b1590fc1debb
--- a/UIPainter.st	Sun May 10 22:49:57 2009 +0200
+++ b/UIPainter.st	Sun May 10 22:50:12 2009 +0200
@@ -5884,7 +5884,9 @@
     lastDrawnMaster := nil.
     windowSpec := nil.
 
-    self canvas components notEmptyOrNil ifTrue:[ self halt ].
+    self canvas components copy do:[:aView|
+        aView destroy
+    ].
     self canvas subViews copy do:[:aView|
         "/ care to not destroy the transparent input view
         (aView isInputOnly) ifFalse:[aView destroy]