Closed jspanchu closed 1 year ago
Looks good, but I will try to bundle some security fix in that next release as well on the JS side...
:tada: This PR is included in version 1.10.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Handle backend exit exception instead of letting it propagate to application level. The
aiohttp
backend raisesGracefulExit
a subclass ofSystemExit
. This code assumes any other backend would similarly raise aSystemExit
derived exception.To achieve the above, the event loop must not be closed. Besides, calling code may want to schedule application clean up after server connection is closed.