Commit 723b6a91 authored by Anael Beutot's avatar Anael Beutot
Browse files

Call stop method of job_manager on stop.

parent 452ef959
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -344,6 +344,8 @@ class MainLoop(object):
            self.connect.stop()
        if self.reconnect is not None:
            self.reconnect.stop()
        # stop running jobs
        self.job_manager.stop()
        # close rpc
        if self.rpc_con is not None:
            # disable callback to prevent trampoline calls