mirror of https://github.com/procxx/kepka.git
Fix empty chats assertion violation.
This commit is contained in:
parent
1e10529f20
commit
51189fd244
|
@ -869,9 +869,9 @@ Result TextWriter::writeChatEnd() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Result TextWriter::writeChatsEnd() {
|
Result TextWriter::writeChatsEnd() {
|
||||||
Expects(_chats != nullptr);
|
if (_chats) {
|
||||||
|
_chats = nullptr;
|
||||||
_chats = nullptr;
|
}
|
||||||
return Result::Success();
|
return Result::Success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue