def init_signal(self):
signal.signal(signal.SIGINT, lambda sig, frame: self.exit(-<NUM_LIT:2>))<EOL>timer = QtCore.QTimer()<EOL>timer.timeout.connect(lambda: None)<EOL>timer.start(<NUM_LIT:200>)<EOL>self._sigint_timer = timer<EOL>
allow clean shutdown on sigint