|
Ran
|
Jobs
1
|
Files
479
|
Run time
5min
|
Badge
README BADGES
|
push
github
fiber: fix leak on dead joinable fiber search When fiber is accessed from Lua we create a userdata object and keep the reference for future accesses. The reference is cleared when fiber is stopped. But if fiber is joinable is still can be found with `fiber.find`. In this case we create userdata object again. Unfortunately as fiber is already stopped we fail to clear the reference. The trigger memory that clear the reference is also leaked. As well as fiber storage if it is accessed after fiber is stopped. Let's add `on_destroy` trigger to fiber and clear the references there. Note that with current set of LSAN suppressions the trigger memory leak of the issue is not reported. Closes #10187 NO_DOC=bugfix (cherry picked from commit 7db4de75f)
62677 of 113926 branches covered (55.02%)
19 of 20 new or added lines in 2 files covered. (95.0%)
31 existing lines in 12 files now uncovered.93573 of 109042 relevant lines covered (85.81%)
2490728.14 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 9792753635.1 | 0 |
85.81 |
GitHub Action Run |