mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	actually unload the modules from a new stack frame
This commit is contained in:
		
							parent
							
								
									86c6fd85f1
								
							
						
					
					
						commit
						b95539b18b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -511,7 +511,7 @@ static void device_removed_cb(LibHalContext* context, const char *udi) {
 | 
			
		|||
    pa_log_debug("Device removed: %s", udi);
 | 
			
		||||
 | 
			
		||||
    if ((d = pa_hashmap_remove(u->devices, udi))) {
 | 
			
		||||
        pa_module_unload_by_index(u->core, d->index, TRUE);
 | 
			
		||||
        pa_module_unload_request_by_index(u->core, d->index, TRUE);
 | 
			
		||||
        hal_device_free(d);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue