1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-02-19 12:04:54 +00:00

Crash fix.

This commit is contained in:
King_DuckZ 2016-07-12 12:37:39 +01:00
parent d6682eb130
commit e2122277ee

View file

@ -133,7 +133,8 @@ namespace redis {
}
Batch::~Batch() noexcept {
this->reset();
if (m_local_data)
this->reset();
}
void Batch::run_pvt (int parArgc, const char** parArgv, std::size_t* parLengths) {
@ -201,6 +202,7 @@ namespace redis {
assert(false);
}
assert(m_local_data);
assert(0 == m_local_data->pending_futures);
m_futures.clear();
m_replies.clear();