server GET_FIELD fix onLastDisconnect
This commit is contained in:
1 parent
7d490dc69e
commit
5019744fa7
2 files changed
+17
-5
No files matched your search
@@ -101,8 +101,7 @@ struct ServerIntrospectControl : public server::ConnectOp
|
||||
return;
|
||||
serv->acceptor_loop.call([this, &fn](){
|
||||
if(auto oper = op.lock())
|
||||
if(auto chan = oper->chan.lock())
|
||||
chan->onClose = std::move(fn);
|
||||
oper->onClose = std::move(fn);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user