You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is effectively a resource leak. It's impossible to cleanup this thread and, so each InitChipStack leaks another thread. This also presumably makes orderly shutdown impossible. WiFIIPChangeListener may never stop posting work to the event event queue.
Proposed Solution
Linux platform must retain a reference to the spawned wifiIPThread
Linux platform requires a symmetric _Shutdown method
the _Shutdown method must signal to the wifiIPThread and then join it
The text was updated successfully, but these errors were encountered:
Problem
From this rev:
And this file:
This code spawns and detaches this thread, and keeps no reference to it:
This is effectively a resource leak. It's impossible to cleanup this thread and, so each InitChipStack leaks another thread. This also presumably makes orderly shutdown impossible.
WiFIIPChangeListener
may never stop posting work to the event event queue.Proposed Solution
wifiIPThread
_Shutdown
method_Shutdown
method must signal to thewifiIPThread
and then join itThe text was updated successfully, but these errors were encountered: