--- a/src/eric7/Utilities/BackgroundService.py Sat May 27 18:57:32 2023 +0200 +++ b/src/eric7/Utilities/BackgroundService.py Sat May 27 20:03:31 2023 +0200 @@ -526,10 +526,11 @@ self.close() for connection in self.connections.values(): - connection.readyRead.disconnect() - connection.disconnected.disconnect() - connection.close() - connection.deleteLater() + with contextlib.suppress(RuntimeError): + connection.readyRead.disconnect() + connection.disconnected.disconnect() + connection.close() + connection.deleteLater() for process, _interpreter in self.processes.values(): process.close()