Describe the bug
When the application with deep is shutdown there is sometimes an error thrown.
To Reproduce
Reproduction is not easy. Essentially if deep shuts down while set_trace is running there can be an exception thrown.
Expected behavior
No exception on shutdown.
Desktop (please complete the following information):
- OS: linux
- Version: main
- Python Version cpython 3.12
Additional context
Probably just need to add atexit handler.
Describe the bug
When the application with deep is shutdown there is sometimes an error thrown.
To Reproduce
Reproduction is not easy. Essentially if deep shuts down while set_trace is running there can be an exception thrown.
Expected behavior
No exception on shutdown.
Desktop (please complete the following information):
Additional context
Probably just need to add atexit handler.