diff --git a/src/ChatPage.cc b/src/ChatPage.cc index 5751d7f4..25073eac 100644 --- a/src/ChatPage.cc +++ b/src/ChatPage.cc @@ -134,6 +134,7 @@ void ChatPage::logout() user_info_widget_->reset(); client_->reset(); + state_manager_.clear(); room_avatars_.clear(); emit close();