Use adb_sleep_ms for Cygwin compat
Change-Id: Iabb2cddfb6740a35e4b6b1563a81b64972c29453
This commit is contained in:
parent
f8754337d8
commit
b0a8aae3ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue