MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / destructors

Method destructors

src/common/classes/init.cpp:237–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 void InstanceControl::destructors()
238 {
239 // Call fb_shutdown() if needed
240 if (gdsShutdown)
241 {
242 try
243 {
244 gdsShutdown();
245 }
246 catch (const Firebird::Exception& e)
247 {
248 cleanError(&e);
249 }
250 }
251
252 // Call gds__cleanup() if present
253 if (gdsCleanup)
254 {
255 try
256 {
257 gdsCleanup();
258 }
259 catch (const Firebird::Exception& e)
260 {
261 cleanError(&e);
262 }
263 }
264
265 InstanceControl::InstanceList::destructors();
266 }
267
268
269 void InstanceControl::InstanceList::destructors()

Callers

nothing calls this directly

Calls 3

cleanErrorFunction · 0.85
unlistMethod · 0.80
dtorMethod · 0.45

Tested by

no test coverage detected