Skip to content

Commit

Permalink
Fixed retain cycle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
evianzhow committed May 9, 2016
1 parent 2bf747c commit 5ae4863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BarrageRenderer/BarrageEngine/BarrageRenderer.m
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ - (void)initClock
__weak id weakSelf = self;
_clock = [BarrageClock clockWithHandler:^(NSTimeInterval time){
BarrageRenderer * strongSelf = weakSelf;
_time = time;
strongSelf->_time = time;
[strongSelf update];
}];
}
Expand Down

0 comments on commit 5ae4863

Please sign in to comment.