mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Merge branch 'busy_disconnect_loop' into integration
This commit is contained in:
		| @@ -175,7 +175,7 @@ int BluetoothProxy::get_bluetooth_connections_free() { | |||||||
| void BluetoothProxy::loop() { | void BluetoothProxy::loop() { | ||||||
|   if (!api::global_api_server->is_connected() || this->api_connection_ == nullptr) { |   if (!api::global_api_server->is_connected() || this->api_connection_ == nullptr) { | ||||||
|     for (auto *connection : this->connections_) { |     for (auto *connection : this->connections_) { | ||||||
|       if (connection->get_address() != 0) { |       if (connection->get_address() != 0 && !connection->disconnect_pending()) { | ||||||
|         connection->disconnect(); |         connection->disconnect(); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user