Fixed a crash related to the whisper system and some minor updates
This commit is contained in:
parent
d42dba7983
commit
12c2a1592d
@ -22,10 +22,12 @@ void AcknowledgeManager::reset() {
|
|||||||
lock.unlock();
|
lock.unlock();
|
||||||
|
|
||||||
/* save because entries are not accessable anymore */
|
/* save because entries are not accessable anymore */
|
||||||
for(const auto& entry : pending_entries)
|
for(const auto& entry : pending_entries) {
|
||||||
if(entry->acknowledge_listener)
|
if(entry->acknowledge_listener) {
|
||||||
entry->acknowledge_listener->executionFailed("reset");
|
entry->acknowledge_listener->executionFailed("reset");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t AcknowledgeManager::awaiting_acknowledge() {
|
size_t AcknowledgeManager::awaiting_acknowledge() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user