Fix stream cleanup when pressing Menu on tvOS

This commit is contained in:
Cameron Gutman 2018-08-29 09:21:49 -07:00
commit 4ccb9bebbf

View file

@ -68,7 +68,7 @@
object: nil];
}
- (void)viewDidDisappear:(BOOL)animated {
- (void)willMoveToParentViewController:(UIViewController *)parent {
[_controllerSupport cleanup];
[UIApplication sharedApplication].idleTimerDisabled = NO;
[_streamMan stopStream];