Skip to content

Commit 01dc2c0

Browse files
author
YihaoPeng
committed
fix crash after authorize failed.
1 parent ed23d60 commit 01dc2c0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Server.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,6 @@ void UpStratumClient::handleStratumMessage(const string &line) {
901901

902902
// Reply all downSessions established before upSession is authenticated
903903
sendLineToAllDownSessions(line);
904-
905-
server_->removeUpSession(this);
906904
}
907905

908906
return;

0 commit comments

Comments
 (0)