summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/actors.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/actors.nim b/lib/pure/actors.nim
index 121dabf82..c6f277745 100644
--- a/lib/pure/actors.nim
+++ b/lib/pure/actors.nim
@@ -118,7 +118,8 @@ proc poolWorker[TIn, TOut](self: PActor[TIn, TOut]) {.thread.} =
     when TOut is void:
       m.action(m.data)
     else:
-      self.repy(m.action(m.data))
+      send(m.receiver[], m.action(m.data))
+      #self.reply()
 
 proc createActorPool*[TIn, TOut](a: var TActorPool[TIn, TOut], poolSize = 4) =
   ## creates an actor pool.
n79'>79 80 81 82 83 84 85 86 87 88 89