MCPcopy Create free account
hub / github.com/aria2/aria2 / ~AbstractCommand

Method ~AbstractCommand

src/AbstractCommand.cc:113–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113AbstractCommand::~AbstractCommand()
114{
115 disableReadCheckSocket();
116 disableWriteCheckSocket();
117#ifdef ENABLE_ASYNC_DNS
118 asyncNameResolverMan_->disableNameResolverCheck(e_, this);
119#endif // ENABLE_ASYNC_DNS
120 requestGroup_->decreaseNumCommand();
121 requestGroup_->decreaseStreamCommand();
122 if (incNumConnection_) {
123 requestGroup_->decreaseStreamConnection();
124 }
125}
126
127void AbstractCommand::useFasterRequest(
128 const std::shared_ptr<Request>& fasterRequest)

Callers

nothing calls this directly

Calls 4

decreaseNumCommandMethod · 0.80
decreaseStreamCommandMethod · 0.80

Tested by

no test coverage detected