diff --git a/Common/Thread/Promise.h b/Common/Thread/Promise.h index 6fae6d7a2b..4145b4b6c1 100644 --- a/Common/Thread/Promise.h +++ b/Common/Thread/Promise.h @@ -79,7 +79,6 @@ public: // Returns T if the data is ready, nullptr if it's not. T Poll() { - _dbg_assert_(this != nullptr); std::lock_guard guard(readyMutex_); if (ready_) { return data_; @@ -96,7 +95,6 @@ public: } T BlockUntilReady() { - _dbg_assert_(this != nullptr); std::lock_guard guard(readyMutex_); if (ready_) { return data_;