mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	spa: bluez: dbus: do not call GetManagedObjects() again
If a reply to a previous GetManagedObjects() call have been received, and there is no reason to call it again, do not do it.
This commit is contained in:
		
							parent
							
								
									9dd1c78f50
								
							
						
					
					
						commit
						008d836608
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4302,6 +4302,9 @@ static void get_managed_objects_reply(DBusPendingCall *pending, void *user_data)
 | 
			
		|||
 | 
			
		||||
static void get_managed_objects(struct spa_bt_monitor *monitor)
 | 
			
		||||
{
 | 
			
		||||
	if (monitor->objects_listed)
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
	DBusMessage *m;
 | 
			
		||||
	DBusPendingCall *call;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue