mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: closing leaked handlers here and there
This commit is contained in:
parent
5e728ded2d
commit
66f2f35f0c
3 changed files with 3 additions and 0 deletions
|
@ -186,5 +186,6 @@ func (s *Sniffer) Stop() error {
|
|||
return session.ErrAlreadyStopped
|
||||
}
|
||||
s.SetRunning(false)
|
||||
s.Ctx.Close()
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue