epoplavskis/photon-pump

Clean shutdown

bobthemighty opened this issue · 0 comments

Currently when we shut down the client, there's a bunch of things that aren't smoothly cancelled/closed.

Running the tests with PYTHONASYNCIODEBUG=1 dumps a frightening number of stacktraces. We would like to cleanly shut down.