correctly shutdown privateChat controls. Fixes #6039
This commit is contained in:
		
							parent
							
								
									b8c96bcc17
								
							
						
					
					
						commit
						139a4b9d87
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -150,6 +150,7 @@ class PrivateChatControl(ChatControl):
 | 
				
			||||||
        self.TYPE_ID = 'pm'
 | 
					        self.TYPE_ID = 'pm'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def shutdown(self):
 | 
					    def shutdown(self):
 | 
				
			||||||
 | 
					        super(PrivateChatControl, self).shutdown()
 | 
				
			||||||
        gajim.ged.remove_event_handler('caps-received', ged.GUI1,
 | 
					        gajim.ged.remove_event_handler('caps-received', ged.GUI1,
 | 
				
			||||||
            self._nec_caps_received)
 | 
					            self._nec_caps_received)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue