diff options
Diffstat (limited to 'Source/SPFavoritesImporter.m')
-rw-r--r-- | Source/SPFavoritesImporter.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPFavoritesImporter.m b/Source/SPFavoritesImporter.m index 90c41927..3a0c2099 100644 --- a/Source/SPFavoritesImporter.m +++ b/Source/SPFavoritesImporter.m @@ -31,6 +31,7 @@ // More info at <http://code.google.com/p/sequel-pro/> #import "SPFavoritesImporter.h" +#import "SPThreadAdditions.h" @interface SPFavoritesImporter () @@ -54,8 +55,8 @@ - (void)importFavoritesFromFileAtPath:(NSString *)path { [self setImportPath:path]; - - [NSThread detachNewThreadSelector:@selector(_importFavoritesInBackground) toTarget:self withObject:nil]; + + [NSThread detachNewThreadWithName:@"SPFavoritesImporter background favorite importer" target:self selector:@selector(_importFavoritesInBackground) object:nil]; } #pragma mark - |