MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Cancel

Method Cancel

src/network/network_content.cpp:751–755  ·  view source on GitHub ↗

* Cancel the current download. */

Source from the content-addressed store, hash-verified

749 * Cancel the current download.
750 */
751void ClientNetworkContentSocketHandler::Cancel(void)
752{
753 this->is_cancelled = true;
754 this->CloseConnection();
755}
756
757/**
758 * Check whether we received/can send some data from/to the content server and

Callers 1

OnClickMethod · 0.80

Calls 1

CloseConnectionMethod · 0.95

Tested by

no test coverage detected