Fixup: rename

pull/37952/head
Eugene Ostroukhov 4 months ago
parent 4de7e9fdfc
commit 1e2e82f8e6
  1. 6
      src/core/lib/event_engine/posix_engine/posix_engine_listener.h

@ -107,10 +107,10 @@ class PosixEngineListenerImpl
} }
ListenerSocketsContainer::ListenerSocket& Socket() { return socket_; } ListenerSocketsContainer::ListenerSocket& Socket() { return socket_; }
~AsyncConnectionAcceptor() { ~AsyncConnectionAcceptor() {
auto maybe_address = socket_.sock.LocalAddress(); auto address = socket_.sock.LocalAddress();
if (maybe_address.ok()) { if (address.ok()) {
// If uds socket, unlink it so that the corresponding file is deleted. // If uds socket, unlink it so that the corresponding file is deleted.
UnlinkIfUnixDomainSocket(*maybe_address); UnlinkIfUnixDomainSocket(*address);
} }
handle_->OrphanHandle(nullptr, nullptr, ""); handle_->OrphanHandle(nullptr, nullptr, "");
delete notify_on_accept_; delete notify_on_accept_;

Loading…
Cancel
Save