Only send nil to channel if worker was just spawned.

This commit is contained in:
Danila Fedorin 2018-01-12 22:18:20 -08:00
parent d020c0c9bf
commit e4381e7daf
1 changed files with 1 additions and 1 deletions

View File

@ -116,8 +116,8 @@ module Telepathy
if !@poll_running
@poll_running = true
spawn_workers
@poll_channel.send nil
end
@poll_channel.send nil
end
def end_poll