Improve robustness: add watchdog timers, error handling, and logging to prevent player freeze
This commit is contained in:
@@ -66,7 +66,7 @@ def main():
|
||||
pass
|
||||
finally:
|
||||
app_running[0] = False
|
||||
update_thread.join()
|
||||
# Do not join the update_thread; let it exit as a daemon
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user