Hey there! I’m making a discord bot in Python and hosting it on Glitch.
I know Python isn’t officially supported by Glitch, yet I like to break the limits, I guess.
I’ve encountered one problem when I’m trying to use
signal.signal(), Glitch just doesn’t care if I want to exit gracefully and my
signal.signal() doesn’t run.
How can I exit gracefully in Python when Glitch wants to restart my app?