actors: Reflect removal of choice of whether to cleanup in self-destruct
[8sync.git] / 8sync / daydream.scm
index 291d010dfd4d96f2efcf9559df6310f7f0ec46b1..8113bdadd00c555c29e7bf9ba07d895c19a97931 100644 (file)
@@ -35,9 +35,7 @@
   ;; Now reply to the actor's continuation
   'wake-up)
 
-;; TODO: don't require the actor here
 (define (daydream secs)
   (define dreamer
-    (create-actor ((@@ (8sync actors) *current-actor*))
-                  <daydreamer>))
+    (create-actor <daydreamer>))
   (<-wait dreamer 'dream secs))