mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-19 12:04:54 +00:00
Crash fix.
This commit is contained in:
parent
d6682eb130
commit
e2122277ee
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue