This could be useful for clients willing to cleanup when the languageclient is "disposed" [Tho maybe I'm over-engineering here]
Activity
dbaeumer commentedon Feb 22, 2023
Not convinced yet :-) since extensions usually dispose the client. It doesn't dispose itself.
ejgallego commentedon Feb 22, 2023
Indeed, that's a good point.
That my use scenario today:
stop ()function that callsclient.disposethen disposes of the hooks.would be tad more modular as registering a new hook could be made local.
But indeed happy to close this if that seems overkill.