mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 10:38:38 +00:00
Merge remote-tracking branch 'upstream/web_server_idf_session_ownership' into integration
This commit is contained in:
@@ -534,6 +534,7 @@ void AsyncEventSource::adopt_pending_sessions_main_loop_() {
|
||||
this->sessions_.push_back(rsp);
|
||||
// Prime first so on_connect_ observes a session that has already sent its
|
||||
// initial ping/config/sorting_groups, matching the pre-refactor ordering.
|
||||
// NOLINTNEXTLINE(clang-analyzer-cplusplus.NewDeleteLeaks) false positive with ArduinoJson
|
||||
rsp->start_session_main_loop_();
|
||||
if (this->on_connect_) {
|
||||
this->on_connect_(rsp);
|
||||
|
||||
Reference in New Issue
Block a user