diff -r 8cb6b7651074 -r d07c71a34adf src/eric7/Cooperation/ChatWidget.py --- a/src/eric7/Cooperation/ChatWidget.py Thu Apr 10 18:36:24 2025 +0200 +++ b/src/eric7/Cooperation/ChatWidget.py Thu Apr 10 18:39:29 2025 +0200 @@ -97,6 +97,8 @@ self.recent = [] self.__loadHostsHistory() + self.__ui.shutdown.connect(self.__shutdown) + def __loadHostsHistory(self): """ Private method to load the recently connected hosts. @@ -720,9 +722,9 @@ ) self.chatEdit.setTextColor(color) - def shutdown(self): + def __shutdown(self): """ - Public method to shut down the cooperation system. + Private method to shut down the cooperation system. """ self.__client.disconnectConnections() self.__setConnected(False)