Skip to content

Commit

Permalink
Reorgonize code
Browse files Browse the repository at this point in the history
  • Loading branch information
rinrab committed Jan 10, 2024
1 parent 6ba3db2 commit 38d658d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions AOVpnManager/VpnManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ public void DeleteVpnConnection(string connectionName)
}
}

public void Dispose()
{
session.Dispose();
}

private static Exception ConvertCimException(CimException ex)
{
if (ex.NativeErrorCode == NativeErrorCode.NotFound)
Expand Down Expand Up @@ -102,10 +107,5 @@ private static string EscapeProfileXml(string profileXml)
{
return SecurityElement.Escape(profileXml);
}

public void Dispose()
{
session.Dispose();
}
}
}

0 comments on commit 38d658d

Please sign in to comment.