From d4e82d6e7a80f2ab49f9afb50e84683509c98598 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Thu, 23 May 2024 14:29:56 -0400 Subject: [PATCH 1/2] Fix AVPlayer periodic time observers not being removed --- Tusker/Screens/Gallery/VideoControlsViewController.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Tusker/Screens/Gallery/VideoControlsViewController.swift b/Tusker/Screens/Gallery/VideoControlsViewController.swift index a7eac5bf..f99b52fd 100644 --- a/Tusker/Screens/Gallery/VideoControlsViewController.swift +++ b/Tusker/Screens/Gallery/VideoControlsViewController.swift @@ -120,6 +120,15 @@ class VideoControlsViewController: UIViewController { fatalError("init(coder:) has not been implemented") } + deinit { + if let timestampObserverToken { + player.removeTimeObserver(timestampObserverToken) + } + if let scrubberObserverToken { + player.removeTimeObserver(scrubberObserverToken) + } + } + override func viewDidLoad() { super.viewDidLoad() From 9df3c33c6ca6564c9c01ff8d455ee4158c7d484c Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 29 May 2024 22:37:53 -0700 Subject: [PATCH 2/2] Bump build number and update changelog --- CHANGELOG.md | 9 +++++++-- Version.xcconfig | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1eff6eb0..0b1a71e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,12 @@ # Changelog -## 2024.3 (125) -This build fixes a bug when displaying HTML in certain posts. +## 2024.3 (126) +Bugfixes: +- Fix an issue displaying post HTML in certain edge cases +- Fix crash when video attachment playback ends +- Fix excessive CPU usage when scrubbing video attachment +- Fix video attachment thubmnails being flipped on Compose screen +- Pleroma: Fix editing attachment descriptions not working ## 2024.2 (124) Features/Improvements: diff --git a/Version.xcconfig b/Version.xcconfig index a195e1f4..cc1453d2 100644 --- a/Version.xcconfig +++ b/Version.xcconfig @@ -10,7 +10,7 @@ // https://help.apple.com/xcode/#/dev745c5c974 MARKETING_VERSION = 2024.3 -CURRENT_PROJECT_VERSION = 125 +CURRENT_PROJECT_VERSION = 126 CURRENT_PROJECT_VERSION = $(inherited)$(CURRENT_PROJECT_VERSION_BUILD_SUFFIX_$(CONFIGURATION)) CURRENT_PROJECT_VERSION_BUILD_SUFFIX_Debug=-dev