raylib networking: prevent concurrently updating networks (#36066)

* dont run by multiple threads at the same time!

* this doesn't work since we rely on is_connected

* Revert "this doesn't work since we rely on is_connected"

This reverts commit 7455b2fe83.
master-tici
Shane Smiskol 1 week ago committed by GitHub
parent ec254074d1
commit 4cd76f4966
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      system/ui/lib/wifi_manager.py

@ -370,6 +370,7 @@ class WifiManager:
cloudlog.warning(f"Failed to request scan: {reply}")
def _update_networks(self):
with self._lock:
if self._wifi_device is None:
cloudlog.warning("No WiFi device found")
return

Loading…
Cancel
Save