Closed pipermerriam closed 5 years ago
We weren't closing the asyncio streams when and endpoint shuts down.
asyncio
In trinity this caused a lot of ResourceWarning: warnings to end up in the terminal on shutdown.
trinity
ResourceWarning:
Added ConnectionAPI.close() and ensure that it's called during the closing of the RemoteConnection.
ConnectionAPI.close()
RemoteConnection
[x] Clean up commit history
[x] Add entry to the release notes
not definitive but I also think is a major culprit for how long trinity takes to shutdown. shutdowns seem much faster with this change.
What was wrong?
We weren't closing the
asyncio
streams when and endpoint shuts down.In
trinity
this caused a lot ofResourceWarning:
warnings to end up in the terminal on shutdown.How was it fixed?
Added
ConnectionAPI.close()
and ensure that it's called during the closing of theRemoteConnection
.To-Do
[x] Clean up commit history
[x] Add entry to the release notes
Cute Animal Picture