SmallSense__CompletionController.st
changeset 123 1b949542c4b2
parent 118 88e6fd734a11
child 132 7c23c51d2cfd
--- a/SmallSense__CompletionController.st	Fri Oct 04 09:01:12 2013 +0100
+++ b/SmallSense__CompletionController.st	Sat Oct 05 00:40:01 2013 +0100
@@ -183,16 +183,17 @@
 closeCompletionView
     |v|
 
+    self stopCompletionProcess.
     (v := completionView) notNil ifTrue:[
         completionView := nil.
         "/ let it close itself - avoids synchronization problems
         v sensor
             pushUserEvent:#value
             for:[ v topView destroy ].
-        v sensor flushEventsFor: self. 
     ].
 
     "Created: / 02-10-2013 / 13:57:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 04-10-2013 / 21:14:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 computeCompletions