mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -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)
|
diff := next.Time.Sub(entry.Time)
|
||||||
time.Sleep(diff)
|
time.Sleep(diff)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !mod.Running() {
|
||||||
|
break
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue