File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ All notable changes to this project will be documented in this file.
1313 - Added by [ William Entriken] ( https://github.com/fulldecent ) in Regards to Issue
1414 [ #76 ] ( https://github.com/fulldecent/FDWaveformView/issues/86 ) .
1515
16+ #### Fixed
17+ - Cancel waveform render operation when view is released
18+ - Added by [ Philippe Jayet] ( https://github.com/pjay )
19+
1620---
1721
1822## [ 2.2.0] ( https://github.com/fulldecent/FDWaveformView/releases/tag/2.2.0 )
Original file line number Diff line number Diff line change @@ -304,6 +304,10 @@ open class FDWaveformView: UIView {
304304 super. init ( frame: rect)
305305 setup ( )
306306 }
307+
308+ deinit {
309+ inProgressWaveformRenderOperation? . cancel ( )
310+ }
307311
308312 /// If the cached waveform or in progress waveform is insufficient for the current frame
309313 fileprivate func cacheStatus( ) -> CacheStatus {
You can’t perform that action at this time.
0 commit comments