-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
/// Destroy current timer
private func destroyTimer() {
self.timer?.setEventHandler(handler: nil)
self.timer?.cancel()
if state == .paused || state == .finished {
self.timer?.resume()
}
}
This method when the order is written is wrong, the timer if is put up, is to call self. The timer?resume (), and then call the self. The timer?.cancel () in the self. The timer = nil to release,Or it will collapse
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels