diff --git a/deluge/core/daemon.py b/deluge/core/daemon.py index a943ac71d..117e9cd1a 100644 --- a/deluge/core/daemon.py +++ b/deluge/core/daemon.py @@ -120,7 +120,7 @@ class Daemon(object): def win_handler(ctrl_type): log.debug("ctrl_type: %s", ctrl_type) if ctrl_type == CTRL_CLOSE_EVENT or ctrl_type == CTRL_SHUTDOWN_EVENT: - self.__shutdown() + self._shutdown() return 1 SetConsoleCtrlHandler(win_handler)