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.
1 parent 07051d1 commit 909ca1cCopy full SHA for 909ca1c
1 file changed
Source/FDWaveformView.swift
@@ -33,6 +33,8 @@ open class FDWaveformView: UIView {
33
34
FDAudioContext.load(fromAudioURL: audioURL) { audioContext in
35
DispatchQueue.main.async {
36
+ guard self.audioURL == audioContext?.audioURL else { return }
37
+
38
if audioContext == nil {
39
NSLog("FDWaveformView failed to load URL: \(audioURL)")
40
}
0 commit comments