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
 | 
			
		||||
                @poll_running = true
 | 
			
		||||
                spawn_workers
 | 
			
		||||
                @poll_channel.send nil
 | 
			
		||||
            end
 | 
			
		||||
            @poll_channel.send nil
 | 
			
		||||
        end
 | 
			
		||||
 | 
			
		||||
        def end_poll
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user