Skip to content

Commit

Permalink
stability bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peetonn committed Apr 8, 2015
1 parent aad36d6 commit 6180912
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ndncon/NCVideoStreamRenderer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ -(void)initialize

-(void)dealloc
{
[self releaseDisplayLink];
self.renderingView = nil;
[self.openGlView removeFromSuperview];
delete _renderer;
self.openGlView = nil;
[self releaseDisplayLink];
}

-(void *)ndnRtcRenderer
Expand Down Expand Up @@ -192,6 +192,7 @@ - (void)createDisplayLink
}
}


- (void)releaseDisplayLink
{
if (_displayLink)
Expand Down

0 comments on commit 6180912

Please sign in to comment.