Commit 4c9944a
Move async pool cleanup after queue sync (#18331)
In a scenario where the AsyncPool freelist contains an entry tied to a
free event that hasn't completed yet, performing freelist cleanup before
queue sync can result in freeing memory that's actively in use.1 parent 3ef707c commit 4c9944a
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | | - | |
619 | | - | |
620 | 618 | | |
621 | 619 | | |
622 | 620 | | |
| |||
630 | 628 | | |
631 | 629 | | |
632 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
633 | 634 | | |
634 | 635 | | |
635 | 636 | | |
| |||
0 commit comments