MCPcopy Create free account
hub / github.com/defold/defold / ~PoolCreator

Method ~PoolCreator

engine/dlib/src/dlib/http_client.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 ~PoolCreator()
62 {
63 dmMutex::Lock(m_Mutex);
64 if (m_Pool) {
65 dmConnectionPool::Delete(m_Pool);
66 }
67 dmMutex::Unlock(m_Mutex);
68 dmMutex::Delete(m_Mutex);
69 }
70
71 // Create the pool lazily for two reasons
72 // 1. If dlib is imported from loaded from python it will crash and burn

Callers

nothing calls this directly

Calls 3

LockFunction · 0.70
DeleteFunction · 0.70
UnlockFunction · 0.70

Tested by

no test coverage detected