mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-06 14:16:43 +00:00
[NOD-869] Add a print after os.Exit(1) to see if it is ever called (#701)
This commit is contained in:
parent
291df8bfef
commit
42c53ec3e2
@ -70,5 +70,7 @@ func exit(log *logs.Logger, reason string, currentThreadStackTrace []byte, gorou
|
|||||||
fmt.Fprintln(os.Stderr, "Couldn't exit gracefully.")
|
fmt.Fprintln(os.Stderr, "Couldn't exit gracefully.")
|
||||||
case <-exitHandlerDone:
|
case <-exitHandlerDone:
|
||||||
}
|
}
|
||||||
|
fmt.Print("Exiting...")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
fmt.Print("After os.Exit(1)")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user