Added comment for crashHandler
This commit is contained in:
parent
8855c7ee8d
commit
a73570e538
|
@ -3410,6 +3410,8 @@ void platformInit() {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The crashHandler function is registered to handle signals before the process terminates.
|
||||||
|
// Basic information about the crash is printed/traced, and stdout and trace events are flushed.
|
||||||
void crashHandler(int sig) {
|
void crashHandler(int sig) {
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
// Pretty much all of this handler is risking undefined behavior and hangs,
|
// Pretty much all of this handler is risking undefined behavior and hangs,
|
||||||
|
|
Loading…
Reference in New Issue