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