mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	impl-node: make node not-runnable when destroying
This avoid some links that are activated again when the node is destroyed.
This commit is contained in:
		
							parent
							
								
									fd358c511d
								
							
						
					
					
						commit
						44d2ba5276
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -1964,6 +1964,7 @@ void pw_impl_node_destroy(struct pw_impl_node *node)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	active = node->active;
 | 
						active = node->active;
 | 
				
			||||||
	node->active = false;
 | 
						node->active = false;
 | 
				
			||||||
 | 
						node->runnable = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pw_log_debug("%p: destroy", impl);
 | 
						pw_log_debug("%p: destroy", impl);
 | 
				
			||||||
	pw_log_info("(%s-%u) destroy", node->name, node->info.id);
 | 
						pw_log_info("(%s-%u) destroy", node->name, node->info.id);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue