Skip to content

Commit

Permalink
no need to retain
Browse files Browse the repository at this point in the history
  • Loading branch information
jchris committed Mar 19, 2011
1 parent 1c17af8 commit 55ee13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MobileCouchbase/Classes/Couchbase.m
Expand Up @@ -160,7 +160,7 @@ + (NSURL *)waitForCouchDB {
+ (void)waitAndNotifyMainThread:(NSObject*)delegate
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSURL *serverURL = [[self waitForCouchDB] retain];
NSURL *serverURL = [self waitForCouchDB];
if ([delegate respondsToSelector:@selector(couchbaseDidStart:)]) {
[delegate performSelectorOnMainThread:@selector(couchbaseDidStart:)
withObject:serverURL
Expand Down

0 comments on commit 55ee13f

Please sign in to comment.