mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 17:25:28 +00:00
Fixed panic on non-metrics
This commit is contained in:
parent
7aa20ee91a
commit
6c86ae060b
@ -186,5 +186,7 @@ func (p *Progress) Stop() {
|
||||
gologger.Warningf("Couldn't stop statistics: %s\n", err)
|
||||
}
|
||||
}
|
||||
_ = p.server.Shutdown(context.Background())
|
||||
if p.server != nil {
|
||||
_ = p.server.Shutdown(context.Background())
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user