I have a series of threads running that I am trying to stop. I believe I have worked out stopping them all but when my main script exits I get this error.
Tcl_AsyncDelete: async handler deleted by the wrong thread
Aborted
The last command in the script is 'print(threading.enumerate())" which displays:
[<_MainThread(MainThread, started 1996111552)>]
So if the main thread is all that is left and it exits, what does that error mean and how do I debug it? TIA.