Attempt to fix TP-Link race condition

This commit is contained in:
Markus Unterwaditzer
2025-09-20 13:31:23 +02:00
committed by Cooper Quintin
parent f3c34ce0d3
commit 48a4b43a39

View File

@@ -315,6 +315,9 @@ async fn tplink_launch_telnet_v5(admin_ip: &str) -> Result<(), Error> {
sleep(Duration::from_millis(1000)).await;
}
// give the JavaScript code some additional time to run and persist the port triggers.
sleep(Duration::from_millis(1000)).await;
handle.abort();
Ok(())