mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: don't broadcast remove event when a module wasn't loaded
This commit is contained in:
		
							parent
							
								
									f26358e958
								
							
						
					
					
						commit
						4d02233ff3
					
				
					 3 changed files with 9 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -5017,6 +5017,8 @@ static void on_module_loaded(void *data, int error)
 | 
			
		|||
 | 
			
		||||
	pw_log_info(NAME" %p: [%s] module %d loaded", client->impl, client->name, module->idx);
 | 
			
		||||
 | 
			
		||||
	module->loaded = true;
 | 
			
		||||
 | 
			
		||||
	broadcast_subscribe_event(impl,
 | 
			
		||||
			SUBSCRIPTION_MASK_MODULE,
 | 
			
		||||
			SUBSCRIPTION_EVENT_NEW | SUBSCRIPTION_EVENT_MODULE,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue