| 1168 | } |
| 1169 | |
| 1170 | ~EngineCheckout() |
| 1171 | { |
| 1172 | if (m_ref.hasData()) |
| 1173 | m_ref->getSync()->enter(m_from); |
| 1174 | |
| 1175 | // If we were signalled to cancel/shutdown, react as soon as possible. |
| 1176 | // We cannot throw immediately, but we can reschedule ourselves. |
| 1177 | |
| 1178 | if (m_tdbb && m_tdbb->tdbb_quantum > 0 && m_tdbb->getCancelState() != FB_SUCCESS) |
| 1179 | m_tdbb->tdbb_quantum = 0; |
| 1180 | } |
| 1181 | |
| 1182 | private: |
| 1183 | // copying is prohibited |
nothing calls this directly
no test coverage detected