Commit dadf9bb
committed
refactor(db): simplify TronDatabase.close() by dropping redundant try/finally
doClose() swallows all exceptions internally (both writeOptions and dbSource
paths log at WARN and do not rethrow), so the outer try/finally only existed
to print the End log. Matches the same simplification applied to
CheckPointV2Store.close() in the previous commit.
Addresses review feedback on PR #6688.1 parent cc57817 commit dadf9bb
1 file changed
Lines changed: 2 additions & 5 deletions
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 79 | + | |
| 80 | + | |
84 | 81 | | |
85 | 82 | | |
86 | 83 | | |
| |||
0 commit comments