--- a/eric6/Utilities/BackgroundService.py Wed Mar 24 19:49:58 2021 +0100 +++ b/eric6/Utilities/BackgroundService.py Sat Mar 27 09:49:00 2021 +0100 @@ -39,9 +39,12 @@ serviceNotAvailable = pyqtSignal(str, str, str, str) batchJobDone = pyqtSignal(str, str) - def __init__(self): + def __init__(self, parent=None): """ Constructor + + @param parent reference to the parent object + @type QObject """ self.processes = {} self.connections = {} @@ -50,7 +53,7 @@ self.__queue = [] self.services = {} - super(BackgroundService, self).__init__() + super(BackgroundService, self).__init__(parent) networkInterface = Preferences.getDebugger("NetworkInterface") if networkInterface == "all" or '.' in networkInterface: