block while moving a file (for now)
This commit is contained in:
parent
793524ac47
commit
43639d35f3
|
@ -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 New Issue