mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:05:23 +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)
|
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