Fix crash on shutdown
Former-commit-id: 6dc55cc0f838b3c82afb233985429b4e7fc5dfb1
This commit is contained in:
parent
dc47a20da3
commit
1badb64289
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user