PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Queue makes system not able to exit

Open joaodragao opened this issue 10 years ago • 1 comments

Expected Behavior

Control-C to exit.

Actual Behavior

However, with this code, the system is not able to exit.

        try:
            self.web_update_queue.put_nowait(True)
        except Queue.Full:
            pass

    def update_web_location_worker(self):
        while True:
            self.web_update_queue.get()
            self.update_web_location()

Steps to Reproduce

Please fix it.

Other Information

OS: Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here) Python Version: (run 'python -V' and paste it here)

joaodragao avatar Aug 09 '16 20:08 joaodragao

As there have been many updates since this issue was posted, I'm assuming this issue has been resolved. If I'm wrong, please reopen.

RedViper9 avatar Aug 11 '16 10:08 RedViper9