Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
98
Socket::~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
109
void Socket::close(void)
Callers
nothing calls this directly
Calls
2
lock
Method · 0.45
unlock
Method · 0.45
Tested by
no test coverage detected