{{ message }}
Commit 7c61b08
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
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>1 parent 7aff78d commit 7c61b08
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 | | |
| |||
2634 | 2631 | | |
2635 | 2632 | | |
2636 | 2633 | | |
| 2634 | + | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
2637 | 2638 | | |
2638 | 2639 | | |
2639 | 2640 | | |
| |||
2654 | 2655 | | |
2655 | 2656 | | |
2656 | 2657 | | |
| 2658 | + | |
| 2659 | + | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
2657 | 2664 | | |
2658 | 2665 | | |
2659 | 2666 | | |
| |||
3687 | 3694 | | |
3688 | 3695 | | |
3689 | 3696 | | |
| 3697 | + | |
3690 | 3698 | | |
3691 | 3699 | | |
3692 | 3700 | | |
| |||
| 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