mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
fix: stop can.dump reader when can.recon is stopped
This commit is contained in:
parent
c4c7b8c43d
commit
4c7599566c
1 changed files with 4 additions and 0 deletions
|
@ -104,6 +104,10 @@ func (mod *CANModule) startDumpReader() error {
|
|||
diff := next.Time.Sub(entry.Time)
|
||||
time.Sleep(diff)
|
||||
}
|
||||
|
||||
if !mod.Running() {
|
||||
break
|
||||
}
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue