MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / pre_close

Method pre_close

runners/proxy/ProxyInboundWorkerConnection.cpp:144–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void ProxyInboundWorkerConnection::pre_close() {
145 if (worker_connection_info_) {
146 runner()->unregister_worker_connection(worker_connection_info_);
147 worker_connection_info_ = nullptr;
148 }
149 state_ = State::Failed;
150}
151
152} // namespace cocoon

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected