summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-08-15 08:13:31 +0200
committerAraq <rumpf_a@web.de>2012-08-15 08:13:31 +0200
commit12151930101f6eacb834c2102cfdaccc637ce72a (patch)
tree1b3b6975cb10388816f98b60f673327988012b5e /lib
parent51de278bd4cf7a8819652176600329022e2353ff (diff)
downloadNim-12151930101f6eacb834c2102cfdaccc637ce72a.tar.gz
bugfix: typo in actors.nim
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.