Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix installation order of signal handlers
The shutdown signal handlers were installed before the workers were initialized and weren't removed before the workers were deleted. This would lead to a debug assertion and an eventual crash when a SIGTERM signal was received outside of the expected scope. The proper way to do this is to install the handlers only after the system is up and running and to disable them as soon as the shutdown process starts. This mostly happened with the mxs621_unreadable_cnf test as it seemed to receive a SIGTERM during the execution of the at-exit handlers.
- Loading branch information
Showing
1 changed file
with
80 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters