def handler(self, ctrl_type):
        if ctrl_type in self.sig:  # Ctrl-C and Ctrl-Break
            self.stopped = True
            return 1  # don't chain to the next handler
        return 0  # chain to the next handler
dataset/ETHPy150Open BRML/climin/climin/stops/stops.py/OnWindowsSignal.handler/original