예제 #1
0
파일: framework.py 프로젝트: Quinn-Yan/apt2
    def cleanup(self):
        # kill thread count thread
        EventHandler.kill_thread_count_thread()

        # fix prompt
        os.system("stty echo")

        # exit
        sys.exit(0)
예제 #2
0
파일: framework.py 프로젝트: 0x0mar/apt2
    def cleanup(self):
        # kill thread count thread
        EventHandler.kill_thread_count_thread()

        # fix prompt
        os.system("stty echo")

        # exit
        sys.exit(0)
예제 #3
0
파일: framework.py 프로젝트: Pynon/apt2
    def cleanup(self):
        #kill key press thread if it has been set up
        if self.keyevent_thread:
            self.keyevent_thread.stop()

        # kill thread count thread
        EventHandler.kill_thread_count_thread()

        # fix prompt
        os.system("stty echo")

        # exit
        sys.exit(0)
예제 #4
0
파일: framework.py 프로젝트: MooseDojo/apt2
    def cleanup(self):
        #kill key press thread if it has been set up
        if self.keyevent_thread:
            self.keyevent_thread.stop()

        # kill thread count thread
        EventHandler.kill_thread_count_thread()

        # fix prompt
        os.system("stty echo")

        # exit
        sys.exit(0)