diff --git a/src/toolkit/Community.VisualStudio.Toolkit.Shared/Shell/ShellEvents.cs b/src/toolkit/Community.VisualStudio.Toolkit.Shared/Shell/ShellEvents.cs index f40eab1..7a1b2f6 100644 --- a/src/toolkit/Community.VisualStudio.Toolkit.Shared/Shell/ShellEvents.cs +++ b/src/toolkit/Community.VisualStudio.Toolkit.Shared/Shell/ShellEvents.cs @@ -61,7 +61,7 @@ int IVsShellPropertyEvents.OnShellPropertyChange(int propid, object var) } else if (propid == (int)__VSSPROPID6.VSSPROPID_ShutdownStarted) { - if (!(bool)var) + if ((bool)var) { ShutdownStarted?.Invoke(); }