Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-03-16 16:42:14 -10:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent 2fe09b1e94
commit 9242895f87
@@ -43,7 +43,7 @@ void BLEServer::loop() {
if (service->is_created()) {
service->start(); // Needs to be called once per characteristic in the service
}
// Remove services that have started or are starting
// Keep services still pending (drop those that are starting or running)
if (!service->is_starting() && !service->is_running()) {
this->services_to_start_[write_idx++] = service;
}