We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa748b4 + b8acd6a commit 025628eCopy full SHA for 025628e
2 files changed
CHANGELOG.md
@@ -16,6 +16,8 @@ All notable changes to this project will be documented in this file.
16
#### Fixed
17
- Fixed a retain cycle in completion handler of waveform render operation
18
- Added by [Philippe Jayet](https://github.com/pjay)
19
+- Cancel waveform render operation when view is released
20
+ - Added by [Philippe Jayet](https://github.com/pjay)
21
22
---
23
Source/FDWaveformView.swift
@@ -304,6 +304,10 @@ open class FDWaveformView: UIView {
304
super.init(frame: rect)
305
setup()
306
}
307
+
308
+ deinit {
309
+ inProgressWaveformRenderOperation?.cancel()
310
+ }
311
312
/// If the cached waveform or in progress waveform is insufficient for the current frame
313
fileprivate func cacheStatus() -> CacheStatus {
0 commit comments