aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesExporter.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-10-14 21:40:56 +0000
committerrowanbeentje <rowan@beent.je>2012-10-14 21:40:56 +0000
commit5aa4c866a68098c65cc8268621da0cbdc2725986 (patch)
treed0e45cfa7fd5632770bbf12b6935d9dba5ba8afe /Source/SPFavoritesExporter.m
parentd8896ae0a22b0014d0b43706280c8a390f14b058 (diff)
downloadsequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.tar.gz
sequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.tar.bz2
sequelpro-5aa4c866a68098c65cc8268621da0cbdc2725986.zip
- Add names for most threads created by Sequel Pro for easier debug
Diffstat (limited to 'Source/SPFavoritesExporter.m')
-rw-r--r--Source/SPFavoritesExporter.m3
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];
}
/**