diff --git a/mediaPlayer/player_msg_control.cpp b/mediaPlayer/player_msg_control.cpp index 5eeca91d7..cbb53ecac 100644 --- a/mediaPlayer/player_msg_control.cpp +++ b/mediaPlayer/player_msg_control.cpp @@ -180,6 +180,7 @@ namespace Cicada { bool PlayerMessageControl::empty() { + ADD_LOCK; return mMsgQueue.empty(); }