Ensure exit notification is sent before closing connection#776
Ensure exit notification is sent before closing connection#776dbaeumer merged 3 commits intomicrosoft:mainfrom
Conversation
|
Good catch. Thanks for the PR. |
|
Hello @dbaeumer and @dsherret, the fix doesn't appear to be in the 7.0.0 client release or 7.1.0.next.5 tag. When do you think there will be a client release at version 7.0.0 or higher containing this fix? |
|
The fix is in the 8.x-next.y release of the library |
|
@dbaeumer Thanks for the reply. It looks like If the later is not true, it would be amazing if this exit notification fix could be added to the future |
|
I think the 8.x-next.y client should be able to talk to a 3.16 server. The protocol is compatible if the server correctly handles capability flags. |
|
I think we'll wait for the official |
|
I usually adopt them in ESLint. The proposed feature might still change. All the other stuff is fairly stable. |
Currently the exit notification is not sent because the connection gets closed before the message is sent (at least on my machine in WSL). This change waits for the exit notification to be sent before closing the connection.
Fixes #726 (exit notification not received part).