diff --git a/location.py b/location.py index 0bee50c..29a114c 100644 --- a/location.py +++ b/location.py @@ -97,4 +97,8 @@ def zoom_out(): try: window.mainloop() except KeyboardInterrupt: - print("Exiting...") \ No newline at end of file + print("Exiting...") + +# Clean up +client.loop_stop() +client.disconnect() \ No newline at end of file