From 9bd59bf041b0d0ca400f586fdbfed53d06258613 Mon Sep 17 00:00:00 2001 From: Julian Rex Date: Tue, 30 Apr 2019 17:08:37 -0400 Subject: [ios, macos] Fixes for static analyzer warnings (#14453) --- platform/ios/app/MBXOrnamentsViewController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'platform/ios/app/MBXOrnamentsViewController.m') diff --git a/platform/ios/app/MBXOrnamentsViewController.m b/platform/ios/app/MBXOrnamentsViewController.m index 5c7aac7f88..861d5d7678 100644 --- a/platform/ios/app/MBXOrnamentsViewController.m +++ b/platform/ios/app/MBXOrnamentsViewController.m @@ -72,11 +72,13 @@ } - (void)viewDidDisappear:(BOOL)animated { + [super viewDidDisappear:animated]; [self.timer invalidate]; self.timer = nil; } - (void)viewDidAppear:(BOOL)animated { + [super viewDidAppear:animated]; self.timer = [NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(onTimerTick) -- cgit v1.2.1