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