diff --git a/native/cocos/audio/android/UrlAudioPlayer.h b/native/cocos/audio/android/UrlAudioPlayer.h index 0b289e85873..601ef50b7cc 100644 --- a/native/cocos/audio/android/UrlAudioPlayer.h +++ b/native/cocos/audio/android/UrlAudioPlayer.h @@ -119,6 +119,7 @@ class UrlAudioPlayer : public IAudioPlayer { std::thread::id _callerThreadId; std::shared_ptr _isDestroyed; + std::mutex destoryMutex; friend class SLUrlAudioPlayerCallbackProxy; friend class AudioPlayerProvider;