| 289 | } |
| 290 | |
| 291 | ThreadSafeTransaction::~ThreadSafeTransaction() { |
| 292 | ISingleThreadTransaction* tr = this->tr; |
| 293 | if (tr) |
| 294 | onMainThreadVoid([tr]() { tr->delref(); }); |
| 295 | } |
| 296 | |
| 297 | void ThreadSafeTransaction::cancel() { |
| 298 | ISingleThreadTransaction* tr = this->tr; |
nothing calls this directly
no test coverage detected