foniod / redbpf

Rust library for building and running BPF/eBPF modules
Apache License 2.0
1.71k stars 136 forks source link

chore(loader): abort spawned streams when Loaded destroyed #348

Closed zhaofeng0019 closed 2 years ago

zhaofeng0019 commented 2 years ago

when Loaded destroyed, the PerfMapStream or RingBufferStream will still alive, which will cause fd leak