new: new caplets module to manage system caplets

This commit is contained in:
evilsocket 2018-09-21 16:49:20 +02:00
commit e79ba4952e
6 changed files with 213 additions and 3 deletions

View file

@ -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]
}
}()