#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Tue, 10 Apr 2018 09:51:23 +0200
changeset 4631 992198b2f876
parent 4630 185f2775c1ca
child 4632 78bc0134bc30
#BUGFIX by stefan class: TimedPromise changed: #startup (send #forMilliseconds: instead of #waitForMilliseconds:) do not wait when initializing the delay
TimedPromise.st
--- a/TimedPromise.st	Thu Mar 29 13:05:22 2018 +0200
+++ b/TimedPromise.st	Tue Apr 10 09:51:23 2018 +0200
@@ -11,6 +11,8 @@
 "
 "{ Package: 'stx:libbasic2' }"
 
+"{ NameSpace: Smalltalk }"
+
 Promise subclass:#TimedPromise
 	instanceVariableNames:'delay ms'
 	classVariableNames:''
@@ -123,12 +125,14 @@
 startup
     "Wait for data arrival or alarm expiry."
 
-    ms notNil ifTrue:[delay := Delay waitForMilliseconds: ms]
+    ms notNil ifTrue:[delay := Delay forMilliseconds:ms]
+
+    "Modified: / 10-04-2018 / 09:49:01 / stefan"
 ! !
 
 !TimedPromise class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic2/TimedPromise.st,v 1.3 2014-02-28 13:14:59 mb Exp $'
+    ^ '$Header$'
 ! !