Skip to content

Commit 17e729c

Browse files
Fixed ShutdownStarted event never firing
1 parent f10d41b commit 17e729c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toolkit/Community.VisualStudio.Toolkit.Shared/Shell/ShellEvents.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int IVsShellPropertyEvents.OnShellPropertyChange(int propid, object var)
6161
}
6262
else if (propid == (int)__VSSPROPID6.VSSPROPID_ShutdownStarted)
6363
{
64-
if (!(bool)var)
64+
if ((bool)var)
6565
{
6666
ShutdownStarted?.Invoke();
6767
}

0 commit comments

Comments
 (0)