mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
block while moving a file (for now)
This commit is contained in:
parent
793524ac47
commit
43639d35f3
1 changed files with 2 additions and 1 deletions
|
@ -460,10 +460,11 @@ int trashDataFile(const char * filename)
|
|||
return;
|
||||
}*/
|
||||
|
||||
#warning doesn't block?
|
||||
int status;
|
||||
tr_torrentSetLocation(fHandle, [folder UTF8String], YES, NULL, &status);
|
||||
|
||||
while (status == TR_LOC_MOVING); //block while moving (for now)
|
||||
|
||||
if (status == TR_LOC_DONE)
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateStats" object: nil];
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue