Skip to content

Commit c0d374e

Browse files
committed
merge bug19389 into default
2 parents 4826cac + d5bd316 commit c0d374e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/impl/ConnectionBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public ConnectionBase(ConnectionParameters parameters,
122122

123123
m_sessionManager = new SessionManager(this);
124124
m_session0 = new MainSession(this);
125-
m_session0.Handler = NotifyReceivedClose;
125+
m_session0.Handler = new MainSession.SessionCloseDelegate(NotifyReceivedClose);
126126
m_model0 = (ModelBase)Protocol.CreateModel(m_session0);
127127

128128
StartMainLoop();

src/client/impl/MainSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void SetSessionClosing(bool closeServerInitiated)
110110
public SessionCloseDelegate Handler
111111
{
112112
get { return handler; }
113-
set { handler = new SessionCloseDelegate(value); }
113+
set { handler = value; }
114114
}
115115

116116
public override void HandleFrame(Frame frame)

0 commit comments

Comments
 (0)