mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
#5241 Mac crash with VDKQueue
This commit is contained in:
parent
5a04552631
commit
b15027b8ce
1 changed files with 1 additions and 3 deletions
|
@ -2956,9 +2956,7 @@ static void sleepCallback(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
-(void) VDKQueue: (VDKQueue *) queue receivedNotification: (NSString*) notification forPath: (NSString*) fpath
|
||||
{
|
||||
#warning remove log
|
||||
NSLog(@"%@",notification);
|
||||
NSParameterAssert([notification isEqualToString:VDKQueueWriteNotification]);
|
||||
//don't assume that just because we're watching for write notification, we'll only receive write notifications
|
||||
|
||||
if (![fDefaults boolForKey: @"AutoImport"] || ![fDefaults stringForKey: @"AutoImportDirectory"])
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue