Don't explicitly close() the session socket during backend exit; instead
leave it for the kernel to do after the process dies. This allows clients to wait for the backend to exit if they wish (after sending X message, wait till EOF is detected on the socket).
Showing
Please register or sign in to comment