wittenbe / Hearthstone-Image-Recognition

A twitch.tv bot to extract card/class data for automated scoring and other shenanigans
GNU General Public License v2.0
93 stars 15 forks source link

The bot should preserve its state upon exit. #2

Closed wittenbe closed 10 years ago

wittenbe commented 10 years ago

Having to manually set the deck again (among other things) when the bot is restarted is annoying.

wittenbe commented 10 years ago

The current method of catching SIGINT, SIGTERM and SIGABRT seems to work quite well on manual termination and ok-ish on crashes. But as-is, it's "good enough"