def sigBreak(self, *args):
        """
        Handle a SIGBREAK interrupt.

        @param args: See handler specification in L{signal.signal}
        """
        log.msg("Received SIGBREAK, shutting down.")
        self.callFromThread(self.stop)
        self._exitSignal = args[0]

        Handle a SIGBREAK interrupt.

        @param args: See handler specification in L{signal.signal}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/base.py