Commit 685b9b2
src: do not persist timer handle in cares_wrap
Instead of relying on garbage collection to close the timer handle,
manage its state more explicitly.
PR-URL: #21093
Fixes: #18190
Refs: #18307
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 5e46c16 commit 685b9b2Copy full SHA for 685b9b2
File tree
Expand file treeCollapse file tree
1 file changed
+23
-23
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+23
-23
lines changedOpen diff view settings
Collapse file
+23-23Lines changed: 23 additions & 23 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
151 | 151 | |
152 | 152 | |
153 | 153 | |
154 | | - |
| 154 | + |
| 155 | + |
155 | 156 | |
156 | 157 | |
157 | 158 | |
| ||
313 | 314 | |
314 | 315 | |
315 | 316 | |
316 | | - |
317 | | - |
318 | | - |
319 | | - |
320 | | - |
321 | | - |
322 | | - |
| 317 | + |
323 | 318 | |
324 | 319 | |
325 | 320 | |
| ||
349 | 344 | |
350 | 345 | |
351 | 346 | |
352 | | - |
| 347 | + |
353 | 348 | |
354 | 349 | |
355 | 350 | |
| ||
490 | 485 | |
491 | 486 | |
492 | 487 | |
| 488 | + |
493 | 489 | |
494 | | - |
495 | | - |
496 | | - |
497 | | - |
498 | | - |
499 | | - |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
500 | 499 | |
501 | 500 | |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
502 | 508 | |
503 | 509 | |
504 | 510 | |
| ||
508 | 514 | |
509 | 515 | |
510 | 516 | |
511 | | - |
| 517 | + |
512 | 518 | |
513 | 519 | |
514 | 520 | |
515 | | - |
516 | | - |
517 | | - |
518 | | - |
519 | | - |
520 | | - |
521 | | - |
522 | 521 | |
523 | 522 | |
524 | 523 | |
| ||
566 | 565 | |
567 | 566 | |
568 | 567 | |
| 568 | + |
569 | 569 | |
570 | 570 | |
571 | 571 | |
|
0 commit comments