MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / ~Shared

Method ~Shared

3rdparty/cppdap/src/socket.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 Shared(addrinfo* info, SOCKET socket) : info(info), s(socket) {}
118
119 ~Shared() {
120 freeaddrinfo(info);
121 close();
122 term();
123 }
124
125 template <typename FUNCTION>
126 void lock(FUNCTION&& f) {

Callers

nothing calls this directly

Calls 1

termFunction · 0.85

Tested by

no test coverage detected