Skip to content

Commit

Permalink
change when we save the active tunnel list
Browse files Browse the repository at this point in the history
  • Loading branch information
farmergreg committed Feb 8, 2016
1 parent bd5bbf4 commit fcd9dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InfinitePuttyTunnel/Forms/TrayIcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,6 @@ private void MenuSession_Click(object sender, EventArgs e)
{
StartSession(session);
}

_sessionManager.SaveActiveTunnels();
}

#region Start Session
Expand Down Expand Up @@ -211,6 +209,8 @@ private void SessionWatchdogRestartHandler(PlinkSession sender)

private void MenuExit_Click(object sender, EventArgs e)
{
_sessionManager.SaveActiveTunnels();

foreach (var curSession in _sessionManager.Sessions)
curSession.Stop();

Expand Down

0 comments on commit fcd9dae

Please sign in to comment.