Skip to content

Commit 786ca84

Browse files
author
Matthias Radestock
committed
merge bug20124 into v1_5_1
2 parents 97b90dd + 1a87666 commit 786ca84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/client/impl/ConnectionBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public ConnectionBase(ConnectionParameters parameters,
128128

129129
m_sessionManager = new SessionManager(this);
130130
m_session0 = new MainSession(this);
131-
m_session0.Handler = new MainSession.SessionCloseDelegate(NotifyReceivedClose);
131+
m_session0.Handler = new MainSession.SessionCloseDelegate(NotifyReceivedCloseOk);
132132
m_model0 = (ModelBase)Protocol.CreateModel(m_session0);
133133

134134
StartMainLoop();
@@ -749,10 +749,10 @@ public void ClosingLoop()
749749
}
750750
}
751751

752-
public void NotifyReceivedClose()
752+
public void NotifyReceivedCloseOk()
753753
{
754+
TerminateMainloop();
754755
closed = true;
755-
m_frameHandler.Close();
756756
}
757757

758758
///<summary>

0 commit comments

Comments
 (0)