Changeset 13987


Ignore:
Timestamp:
Feb 8, 2013, 1:18:41 PM (8 years ago)
Author:
livings124
Message:

fix autoreleasing the file watcher queue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13986 r13987  
    375375       
    376376        //needs to be done before init-ing the prefs controller
    377         fFileWatcherQueue = [[[VDKQueue alloc] init] autorelease];
     377        fFileWatcherQueue = [[VDKQueue alloc] init];
    378378        [fFileWatcherQueue setDelegate: self];
    379379       
     
    29572957-(void) VDKQueue: (VDKQueue *) queue receivedNotification: (NSString*) notification forPath: (NSString*) fpath
    29582958{
    2959     NSParameterAssert([notification isEqualToString:VDKQueueWriteNotification]);NSLog(@"%@",notification);
     2959    #warning remove log
     2960    NSLog(@"%@",notification);
     2961    NSParameterAssert([notification isEqualToString:VDKQueueWriteNotification]);
    29602962   
    29612963    if (![fDefaults boolForKey: @"AutoImport"] || ![fDefaults stringForKey: @"AutoImportDirectory"])
Note: See TracChangeset for help on using the changeset viewer.