If a sample stream is already ded, just warn
							parent
							
								
									cde23361a4
								
							
						
					
					
						commit
						04c12a756c
					
				| 
						 | 
					@ -160,7 +160,12 @@ async def broadcast(
 | 
				
			||||||
            log.error(
 | 
					            log.error(
 | 
				
			||||||
                f'{stream._ctx.chan.uid} dropped connection'
 | 
					                f'{stream._ctx.chan.uid} dropped connection'
 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
            subs.remove(stream)
 | 
					            try:
 | 
				
			||||||
 | 
					                subs.remove(stream)
 | 
				
			||||||
 | 
					            except ValueError:
 | 
				
			||||||
 | 
					                log.warning(
 | 
				
			||||||
 | 
					                    f'{stream._ctx.chan.uid} sub already removed!?'
 | 
				
			||||||
 | 
					                )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@tractor.context
 | 
					@tractor.context
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue