| 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() |
nothing calls this directly
no test coverage detected