Fix stopwatch dismissing

main
Laurent 3 years ago
parent 4eb74fe4d9
commit 9f760ea874
  1. 2
      LeCountdown/Conductor.swift

@ -91,8 +91,8 @@ class Conductor: ObservableObject {
// Logger.log("removeLiveTimer")
self.liveTimers.removeAll(where: { $0.id == id })
self.cancelledCountdowns.removeAll(where: { $0 == id })
self.pausedCountdowns.removeValue(forKey: id)
self.currentStopwatches.removeValue(forKey: id)
self.pausedCountdowns.removeValue(forKey: id)
if let soundPlayer = self._delayedSoundPlayers[id] {
FileLogger.log("Stop sound player: \(self._timerName(id))")
soundPlayer.stop()

Loading…
Cancel
Save