MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / ~Socket

Method ~Socket

util/Socket.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97
98Socket::~Socket(void)
99{
100 close();
101 #ifdef _WIN32
102 mutex.lock(false);
103 instanceCount--; if(instanceCount == 0) WSACleanup();
104 mutex.unlock(false);
105 #endif
106}
107
108
109void Socket::close(void)

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected