MCPcopy Create free account
hub / github.com/chromium/crashpad / UninstallClientSocket

Method UninstallClientSocket

handler/linux/exception_handler_server.cc:401–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399}
400
401bool ExceptionHandlerServer::UninstallClientSocket(Event* event) {
402 if (epoll_ctl(pollfd_.get(), EPOLL_CTL_DEL, event->fd.get(), nullptr) != 0) {
403 PLOG(ERROR) << "epoll_ctl";
404 return false;
405 }
406
407 if (clients_.erase(event->fd.get()) != 1) {
408 LOG(ERROR) << "event not found";
409 return false;
410 }
411
412 return true;
413}
414
415bool ExceptionHandlerServer::ReceiveClientMessage(Event* event) {
416 ExceptionHandlerProtocol::ClientToServerMessage message;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected