Exemple #1
0
    def stop(self):
        if not self.started:
            return

        env.stop()
        self.scheduler.stop()
        self.started = False
Exemple #2
0
    def stop(self):
        if not self.started:
            return

        env.stop()
        self.scheduler.stop()
        self.started = False
Exemple #3
0
    def stop(self):
        if not self.started:
            return

        env.stop()
        try:
            import dpark.web
            dpark.web.stop(self.web_port)
        except ImportError:
            pass
        self.scheduler.stop()
        self.started = False
        close_mfs()