diff --git a/Runtime/CDvdFile.cpp b/Runtime/CDvdFile.cpp index 39e9764f0..703b5060e 100644 --- a/Runtime/CDvdFile.cpp +++ b/Runtime/CDvdFile.cpp @@ -28,6 +28,9 @@ public: } bool IsComplete() override { return m_complete.load(); } void PostCancelRequest() override { + if (m_complete.load() || m_cancel.load()) { + return; + } std::unique_lock waitlk{CDvdFile::m_WaitMutex}; m_cancel.store(true); }