I've written a bot in Python (haven't posted it publicly yet). I want to call a method to log some statistics. My bot is written as a Python class, however del and exit both aren't being called. I've also just called a method manually after my run method (which has the sendFrame loop in it), but that doesn't happen. It's as if once the game is over the whole script is killed abruptly.