diff options
Diffstat (limited to 'adb/sockets.c')
| -rw-r--r-- | adb/sockets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/sockets.c b/adb/sockets.c index 6bfc7c80..72192936 100644 --- a/adb/sockets.c +++ b/adb/sockets.c @@ -195,7 +195,7 @@ static void local_socket_close(asocket *s) if (s->kick_on_close && s->transport) { kick_transport(s->transport); /* delay to work around a race condition */ - sleep(1); + adb_sleep_ms(1000); } #endif adb_mutex_lock(&socket_list_lock); |
