()
| 484 | } |
| 485 | |
| 486 | func (pr *BackupProcessor) Close() { |
| 487 | for _, th := range pr.threads { |
| 488 | if pr.txn != nil { |
| 489 | th.itr.Close() |
| 490 | } |
| 491 | _ = th.buf.Release() |
| 492 | } |
| 493 | if pr.txn != nil { |
| 494 | pr.txn.Discard() |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | // LoadResult holds the output of a Load operation. |
| 499 | type LoadResult struct { |
no test coverage detected