adium 3109:01c07754dedf: return out of the @synchronized block.
commits at adium.im
commits at adium.im
Fri Feb 5 00:32:29 UTC 2010
details: http://hg.adium.im/adium/rev/01c07754dedf
revision: 3109:01c07754dedf
author: Stephen Holt <sholt at adium.im>
date: Thu Feb 04 19:32:21 2010 -0500
return out of the @synchronized block.
diffs (16 lines):
diff -r 7754de9d8f18 -r 01c07754dedf Frameworks/AutoHyperlinks Framework/Source/AHHyperlinkScanner.m
--- a/Frameworks/AutoHyperlinks Framework/Source/AHHyperlinkScanner.m Thu Feb 04 19:28:58 2010 -0500
+++ b/Frameworks/AutoHyperlinks Framework/Source/AHHyperlinkScanner.m Thu Feb 04 19:32:21 2010 -0500
@@ -359,9 +359,11 @@
- (AHMarkedHyperlink *)nextURI
{
+ AHMarkedHyperlink *link = nil;
@synchronized(self) {
- return [self nextURIFromLocation:&m_scanLocation];
+ link = [self nextURIFromLocation:&m_scanLocation];
}
+ return link;
}
-(NSArray *)allURIs
More information about the commits
mailing list