summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Wallace <bill@cromotron.com>2017-09-11 10:34:03 -0700
committerJoel Fischer <joeljfischer@gmail.com>2017-09-13 10:23:03 -0400
commit5c090288cad8f29fd3355801b1566c45b8967ab6 (patch)
treed6626b5c9b89cde4747293fbc7bc22a803f8bf25
parente2cc271c1f8098ea7074639be1646df24b74a237 (diff)
downloadsdl_ios-5c090288cad8f29fd3355801b1566c45b8967ab6.tar.gz
Fix #382 Timers are not appropriately stopped when deallocated.
-rw-r--r--SmartDeviceLink/SDLTimer.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLTimer.m b/SmartDeviceLink/SDLTimer.m
index 7c652f50f..2774c0836 100644
--- a/SmartDeviceLink/SDLTimer.m
+++ b/SmartDeviceLink/SDLTimer.m
@@ -37,7 +37,7 @@ NS_ASSUME_NONNULL_BEGIN
@end
-@interface SDLTimer ()
+@interface SDLTimer () <SDLTimerTargetDelegate>
@property (strong, nonatomic, nullable) NSTimer *timer;
@property (assign, nonatomic) BOOL timerRunning;