| 137 | } |
| 138 | |
| 139 | void Replicator::releaseTransaction(Transaction* transaction) |
| 140 | { |
| 141 | try |
| 142 | { |
| 143 | auto& txnData = transaction->getData(); |
| 144 | m_manager->releaseBuffer(txnData.buffer); |
| 145 | |
| 146 | FB_SIZE_T pos; |
| 147 | if (m_transactions.find(transaction, pos)) |
| 148 | m_transactions.remove(pos); |
| 149 | } |
| 150 | catch (const Exception&) |
| 151 | {} // no-op |
| 152 | } |
| 153 | |
| 154 | // IReplicatedSession implementation |
| 155 |
no test coverage detected