MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~Manager

Method ~Manager

src/jrd/extds/ExtDS.cpp:98–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98Manager::~Manager()
99{
100 fb_assert(!m_connPool || m_connPool->getAllCount() == 0);
101
102 ThreadContextHolder tdbb;
103
104 while (m_providers)
105 {
106 Provider* to_delete = m_providers;
107 m_providers = m_providers->m_next;
108 to_delete->clearConnections(tdbb);
109 delete to_delete;
110 }
111
112 delete m_connPool;
113 m_connPool = NULL;
114}
115
116void Manager::addProvider(Provider* provider)
117{

Callers

nothing calls this directly

Calls 2

getAllCountMethod · 0.80
clearConnectionsMethod · 0.80

Tested by

no test coverage detected