mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 02:02:51 +00:00
[api] Exclude the spare key refill from the loop blocking guard (#20574)
This commit is contained in:
@@ -237,6 +237,8 @@ void APIServer::refill_spare_ephemeral_() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Generating the key pair cannot be split across loop passes
|
||||
UnavoidableBlockingScope scope;
|
||||
noise::prepare_spare_ephemeral();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user