fix TB when we close pubsub window before we get the answer from the server. see #3103
This commit is contained in:
		
							parent
							
								
									2c4f2896af
								
							
						
					
					
						commit
						ebb5c511f3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -47,5 +47,5 @@ class ConnectionPubSub:
 | 
			
		|||
		try:
 | 
			
		||||
			cb, args, kwargs = self.__callbacks.pop(stanza.getID())
 | 
			
		||||
			cb(conn, stanza, *args, **kwargs)
 | 
			
		||||
		except KeyError:
 | 
			
		||||
		except:
 | 
			
		||||
			pass
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue