{{ message }}
Repository navigation
Commit adbc757
sqlite: add StatementSync.prototype[Symbol.dispose]()
This extends explicit resource management support to prepared
statements, allowing a StatementSync to be deterministically
finalized via a `using` declaration, mirroring the existing
DatabaseSync and Session dispose methods.
Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>
PR-URL: #64232
Backport-PR-URL: #66128
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent c162c68 commit adbc757
4 files changed
Lines changed: 66 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
1061 | | - | |
1062 | | - | |
1063 | | - | |
1064 | | - | |
| 1061 | + | |
1065 | 1062 | | |
1066 | 1063 | | |
1067 | 1064 | | |
| |||
2669 | 2666 | | |
2670 | 2667 | | |
2671 | 2668 | | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
2672 | 2673 | | |
2673 | 2674 | | |
2674 | 2675 | | |
| |||
2689 | 2690 | | |
2690 | 2691 | | |
2691 | 2692 | | |
| 2693 | + | |
| 2694 | + | |
| 2695 | + | |
| 2696 | + | |
| 2697 | + | |
| 2698 | + | |
2692 | 2699 | | |
2693 | 2700 | | |
2694 | 2701 | | |
| |||
3727 | 3734 | | |
3728 | 3735 | | |
3729 | 3736 | | |
| 3737 | + | |
3730 | 3738 | | |
3731 | 3739 | | |
3732 | 3740 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| 299 | + | |
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
| |||

0 commit comments