mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support SIGABRT to generate coredump.
This commit is contained in:
parent
1d503c770f
commit
0304e78cf1
2 changed files with 14 additions and 0 deletions
|
@ -125,6 +125,8 @@
|
|||
// The signal for srs to gracefully quit, do carefully dispose then exit.
|
||||
// @see https://github.com/ossrs/srs/issues/1579
|
||||
#define SRS_SIGNAL_GRACEFULLY_QUIT SIGQUIT
|
||||
// The signal for SRS to abort by assert(false).
|
||||
#define SRS_SIGNAL_ASSERT_ABORT SIGABRT
|
||||
|
||||
// The application level signals.
|
||||
// Persistence the config in memory to config file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue