Fix crash on shutdown

Former-commit-id: 6dc55cc0f838b3c82afb233985429b4e7fc5dfb1
This commit is contained in:
John Sully 2019-11-24 14:24:41 -05:00
parent dc47a20da3
commit 1badb64289

View File

@ -674,7 +674,6 @@ bool redisDbPersistentData::iterate_threadsafe(std::function<bool(const char*, r
dictIterator *di = dictGetIterator(m_pdict);
dictEntry *de = nullptr;
bool fResult = true;
serverAssert(m_pdict->iterators > 0);
while((de = dictNext(di)) != nullptr)
{