Skip to content

Commit

Permalink
finish timer limit issues
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Feb 16, 2023
1 parent 6df85f9 commit 705a92a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ open class TimerMode : ITimer {

override fun destroyTimer() {
try {
finishTimerLimit = true
timer.cancel()
timer.purge()
} catch (ex: java.lang.Exception) {
Expand All @@ -96,6 +97,7 @@ open class TimerMode : ITimer {

protected fun cancelTimer(){
try {
finishTimerLimit = true
timer.cancel()
} catch (ex: java.lang.Exception) {
ex.printStackTrace()
Expand Down

0 comments on commit 705a92a

Please sign in to comment.