Skip to content

Shutdown fixes

Pre-release
Pre-release
Compare
Choose a tag to compare
@justinboswell justinboswell released this 07 Jun 20:48
5103f2b
delay websocket shutdown callback (#75)

This is similar to https://github.com/awslabs/aws-c-http/pull/72

Websocket's `on_connection_shutdown` callback shouldn't fire during the handler shutdown, it should fire during the channel's shutdown.

This change clarified some questions I had about lifetime/ownership (hence the deleted TODOs and modified API comments)