mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: new caplets module to manage system caplets
This commit is contained in:
parent
9721c1d6e0
commit
e79ba4952e
6 changed files with 213 additions and 3 deletions
|
@ -63,6 +63,11 @@ func (p *EventPool) Listen() <-chan Event {
|
|||
// will receive all the queued events
|
||||
go func() {
|
||||
for i := len(p.events) - 1; i >= 0; i-- {
|
||||
defer func() {
|
||||
if recover() != nil {
|
||||
|
||||
}
|
||||
}()
|
||||
l <- p.events[i]
|
||||
}
|
||||
}()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue