mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
fix: added explicit message while session is stopping because sometimes it can require a few seconds
This commit is contained in:
parent
7e3bad9dba
commit
278fde9872
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,8 @@ func (s *Session) setupReadline() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Session) Close() {
|
func (s *Session) Close() {
|
||||||
|
fmt.Printf("\nStopping modules and cleaning session state ...\n")
|
||||||
|
|
||||||
if *s.Options.Debug {
|
if *s.Options.Debug {
|
||||||
s.Events.Add("session.closing", nil)
|
s.Events.Add("session.closing", nil)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue