Skip to content

Commit

Permalink
Merge pull request #1252 from vishalduggal/timob-7363
Browse files Browse the repository at this point in the history
[TIMOB-7363] Update barImage immediately if it is main thread
  • Loading branch information
srahim committed Jan 25, 2012
2 parents 49cb0c3 + ac9e131 commit d690fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/TiUIWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ -(void)setBarImage:(id)value
[self replaceValue:[self sanitizeURL:value] forKey:@"barImage" notification:NO];
if (controller!=nil)
{
[self performSelectorOnMainThread:@selector(updateBarImage) withObject:nil waitUntilDone:NO];
[self performSelectorOnMainThread:@selector(updateBarImage) withObject:nil waitUntilDone:[NSThread isMainThread]];
}
}

Expand Down

0 comments on commit d690fb0

Please sign in to comment.