explodinglabs/jsonrpcserver

Always shut down server when using serve()

bcb opened this issue · 1 comments

bcb commented

The server only shuts down when exiting with ctrl-c (keyboard interrupt).

Add a try block to always shut down the server when exiting other ways. e.g sys.exit

bcb commented

Fixed in version 6