fix: added explicit message while session is stopping because sometimes it can require a few seconds

This commit is contained in:
evilsocket 2018-02-22 17:07:46 +01:00
commit 278fde9872

View file

@ -234,6 +234,8 @@ func (s *Session) setupReadline() error {
}
func (s *Session) Close() {
fmt.Printf("\nStopping modules and cleaning session state ...\n")
if *s.Options.Debug {
s.Events.Add("session.closing", nil)
}