Changeset 692

Show
Ignore:
Timestamp:
11/02/08 17:00:01 (2 months ago)
Author:
gbooker
Message:

Remove the current importer in case it's informer is removed. Should fix a few issues;
Let the helper die if it failed to save; so it suceeds the next time around

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/CoreData/SapphireFrappliance/FRAppliance/SapphireImportHelper.m

    r667 r692  
    162162                else 
    163163                        ret = ([allImporter importMetaData:file] == IMPORT_STATE_UPDATED); 
    164                 [SapphireMetaDataSupport save:moc]; 
     164                keepRunning &= [SapphireMetaDataSupport save:moc]; 
    165165                [server importComplete:ret]; 
    166166                [singleImportPool release]; 
     
    334334                } 
    335335        } 
     336        if([currentImporting informer] == inform) 
     337        { 
     338                [currentImporting release]; 
     339                currentImporting = nil; 
     340        } 
    336341} 
    337342