mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
Silence error about previous defer not running after "log.Fatal".
This commit is contained in:
parent
bcdf9af5eb
commit
6d3ff0c5ba
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ func main() {
|
|||
if *memprofile != "" {
|
||||
f, err := os.Create(*memprofile)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
log.Fatal(err) // nolint (defer pprof.StopCPUProfile() will not run which is ok in case of errors)
|
||||
}
|
||||
|
||||
defer func() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue