mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
200 microseconds for real
This commit is contained in:
parent
a03dd39510
commit
2c3d75fbd2
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ int trashDataFile(const char * filename)
|
|||
tr_torrentSetLocation(fHandle, [folder UTF8String], YES, NULL, &status);
|
||||
|
||||
while (status == TR_LOC_MOVING)
|
||||
sleep(1); //block while moving (for now)
|
||||
usleep(200); //block while moving (for now)
|
||||
|
||||
if (status == TR_LOC_DONE)
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
|
|
Loading…
Reference in a new issue