mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
661e46a346
commit
dfd139cab1
1 changed files with 0 additions and 6 deletions
|
@ -100,12 +100,6 @@ func (p *EventPool) Clear() {
|
|||
p.events = make([]Event, 0)
|
||||
}
|
||||
|
||||
func (p *EventPool) Events() []Event {
|
||||
p.Lock()
|
||||
defer p.Unlock()
|
||||
return p.events
|
||||
}
|
||||
|
||||
func (p *EventPool) Sorted() []Event {
|
||||
p.Lock()
|
||||
defer p.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue