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
When disabling Wi-Fi through Wi-Fi connection, the function waits for the response but apparently the connection is closed before the response is made by the device.
I think a timeout can be set in the disable-wifi function to check if the Wi-Fi is turned off.
Sorry for the bad formation, I clicked the wrong button and the sentence was sent before I finished typing.
The text was updated successfully, but these errors were encountered:
Victrid
changed the title
Stuckdisabling Wi-Fi through Wi-Fi connection
Stuck when disabling Wi-Fi through Wi-Fi connection
Oct 26, 2020
defdisable_wifi(self):
# Create and run a thread to do the disabling task #time.sleep(5)
ifthread.is_alive():
# Kill the thread #return
but python do not provide such thread killing method. Disabling Wi-Fi uses the urllib which didn't allow me to insert some signal handler for timeout killing.
When disabling Wi-Fi through Wi-Fi connection, the function waits for the response but apparently the connection is closed before the response is made by the device.
I think a timeout can be set in the disable-wifi function to check if the Wi-Fi is turned off.
Sorry for the bad formation, I clicked the wrong button and the sentence was sent before I finished typing.
The text was updated successfully, but these errors were encountered: