diff --git a/source/lime/_internal/backend/native/NativeAudioSource.hx b/source/lime/_internal/backend/native/NativeAudioSource.hx index 894f6274..9f0939d7 100644 --- a/source/lime/_internal/backend/native/NativeAudioSource.hx +++ b/source/lime/_internal/backend/native/NativeAudioSource.hx @@ -161,9 +161,9 @@ class NativeAudioSource { } private function complete() { - completed = true; + if (!completed) parent.onComplete.dispatch(); stop(); - parent.onComplete.dispatch(); + completed = true; } // Streaming, atleast for vorbis for now.