actually delete chats in clearChats()

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
pull/1895/head
Jared Van Bortel 4 months ago
parent 445037dae0
commit e84e598ca4

@ -196,6 +196,7 @@ public:
m_newChat = nullptr;
m_serverChat = nullptr;
m_currentChat = nullptr;
for (auto * chat: m_chats) { delete chat; }
m_chats.clear();
}

Loading…
Cancel
Save