diff options
Diffstat (limited to 'Source/SPFavoritesExporter.m')
-rw-r--r-- | Source/SPFavoritesExporter.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPFavoritesExporter.m b/Source/SPFavoritesExporter.m index 0d664bfa..a4544a5e 100644 --- a/Source/SPFavoritesExporter.m +++ b/Source/SPFavoritesExporter.m @@ -32,6 +32,7 @@ #import "SPFavoritesExporter.h" #import "SPTreeNode.h" +#import "SPThreadAdditions.h" @interface SPFavoritesExporter () @@ -57,7 +58,7 @@ [self setExportFavorites:favorites]; [self setExportPath:path]; - [NSThread detachNewThreadSelector:@selector(_writeFavoritesInBackground) toTarget:self withObject:nil]; + [NSThread detachNewThreadWithName:@"SPFavoritesExporter background writing thread" target:self selector:@selector(_writeFavoritesInBackground) object:nil]; } /** |