Only send nil to channel if worker was just spawned.
This commit is contained in:
parent
d020c0c9bf
commit
e4381e7daf
@ -116,8 +116,8 @@ module Telepathy
|
|||||||
if !@poll_running
|
if !@poll_running
|
||||||
@poll_running = true
|
@poll_running = true
|
||||||
spawn_workers
|
spawn_workers
|
||||||
|
@poll_channel.send nil
|
||||||
end
|
end
|
||||||
@poll_channel.send nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def end_poll
|
def end_poll
|
||||||
|
Loading…
Reference in New Issue
Block a user