def _kill_burp(self):
        if self._proc_is_alive():
            try:
                self.proc.terminate()
            except:
                pass
        if self._proc_is_alive():
            try:
                self.proc.kill()
            except:
                pass
Terminate the process
dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py/Burp._kill_burp