Skip to content

Commit 4ef37e1

Browse files
authored
Merge pull request #79 from lanfeust69/fix-uninstall
Fix possible crash in IntelliSenseServer.Uninstall()
2 parents 1899bd1 + d3e0a40 commit 4ef37e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Source/ExcelDna.IntelliSense/IntelliSenseServer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public static void Install()
111111
public static void Uninstall()
112112
{
113113
Logger.Initialization.Info($"IntelliSenseServer.Uninstall Begin: Version {ServerVersion} in {AppDomain.CurrentDomain.FriendlyName}");
114+
if (IsDisabled())
115+
return;
114116

115117
UnpublishRegistration();
116118
if (_isActive)

0 commit comments

Comments
 (0)