Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

dont send reqs when the view closes...

roryclear2f2435e29829
diff --git a/clearcam/DeviceStreamViewController.m b/clearcam/DeviceStreamViewController.m
index 9034170..2cafb78 100644
--- a/clearcam/DeviceStreamViewController.m
+++ b/clearcam/DeviceStreamViewController.m
@@ -276,4 +276,12 @@
[self.linkRefreshTimer invalidate];
}
+- (void)viewWillDisappear:(BOOL)animated {
+ [super viewWillDisappear:animated];
+ [self.downloadTimer invalidate];
+ self.downloadTimer = nil;
+ [self.linkRefreshTimer invalidate];
+ self.linkRefreshTimer = nil;
+}
+
@end