Ran
|
Files
514
|
Run time
19s
|
Badge
Embed ▾
README BADGES
|
push
github
net_box: fix a crash when a trigger deletes itself In 6d88274 we rewrote Lua module `internal.trigger` that is used in `net.box` and possibly some external modules. Old implementation held all triggers in a Lua table, so deleting a trigger on the fly wasn't a problem. Now we store all triggers in a list and simply iterate over it when the triggers are fired, so the trigger list became non-resistent to modifications on the fly. In order to fix it, let's simply use `trigger_run` - it is resistant to the list modifications. Closes #10622 NO_DOC=bugfix (cherry picked from commit 78cfc5ef4)
68439 of 121717 branches covered (56.23%)
101055 of 115840 relevant lines covered (87.24%)
2492592.25 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|