Make the assertion in the destructor unconditional

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
JCW
2025-09-26 13:24:58 +01:00
parent 6f0767a99e
commit 63ef46b676

View File

@@ -66,11 +66,9 @@ inline JobQueue::Coro::~Coro()
resume();
}
#ifndef NDEBUG
XRPL_ASSERT(
state_ == CoroState::Finished,
"ripple::JobQueue::Coro::~Coro : is finished");
#endif
}
inline void