ObjFW  Diff

Differences From Artifact [d8db83adff]:

To Artifact [5c2e6057d0]:


66
67
68
69
70
71
72


73
74
75
76
77
78
79
		handler = [[class alloc] initWithScheme: scheme];
		@try {
			[handlers setObject: handler
				     forKey: scheme];
		} @finally {
			[handler release];
		}


#ifdef OF_HAVE_THREADS
	} @finally {
		[mutex unlock];
	}
#endif
}








>
>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
		handler = [[class alloc] initWithScheme: scheme];
		@try {
			[handlers setObject: handler
				     forKey: scheme];
		} @finally {
			[handler release];
		}

		return true;
#ifdef OF_HAVE_THREADS
	} @finally {
		[mutex unlock];
	}
#endif
}