forked from quickshell/quickshell
		
	wayland/screencopy: fix ScreencopyContext leak in ScreencopyView
Also caused an FD leak.
This commit is contained in:
		
							parent
							
								
									6464ead0f1
								
							
						
					
					
						commit
						bc73d35d03
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -66,6 +66,8 @@ void ScreencopyView::createContext() {
 | 
			
		|||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	this->context->setParent(this);
 | 
			
		||||
 | 
			
		||||
	QObject::connect(
 | 
			
		||||
	    this->context,
 | 
			
		||||
	    &ScreencopyContext::stopped,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue