MCPcopy Create free account
hub / github.com/defold/defold / Close

Function Close

engine/dlib/src/dlib/connection_pool.cpp:594–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592 }
593
594 void Close(HPool pool, HConnection connection)
595 {
596 DM_MUTEX_SCOPED_LOCK(pool->m_Mutex);
597
598 Connection* c = GetConnection(pool, connection);
599 assert(c->m_State == STATE_INUSE);
600 DoClose(pool, c);
601 }
602
603 dmSocket::Socket GetSocket(HPool pool, HConnection connection)
604 {

Callers

nothing calls this directly

Calls 3

GetConnectionFunction · 0.85
DoCloseFunction · 0.85
assertFunction · 0.50

Tested by

no test coverage detected