Commit fc775f0
committed
test: keep finalization ref alive until exit
Keep the registered finalization object strongly reachable until
process exit so the test does not depend on GC timing.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: openai:gpt-5.51 parent bc90667 commit fc775f0
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | | - | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| |||
0 commit comments