I\'m creating a game which runs fine but when I close the window it gives this error:
_tkinter.TclError: can\'t invoke "update" command: application has