VsixCommunity / Community.VisualStudio.Toolkit

Making it easier to write Visual Studio extensions
Other
249 stars 44 forks source link

Allow command interceptors to be unregistered #410

Closed reduckted closed 1 year ago

reduckted commented 1 year ago

This PR changes Commands.InterceptAsync to return a Task<IDisposable>. When you dispose of the returned object, the command interceptor will be unregistered.

madskristensen commented 1 year ago

Awesome. Thanks!