mirror of
https://github.com/open62541/open62541.git
synced 2026-10-27 03:27:40 +08:00
Only update a volatile sig_atomic_t flag from SIGINT and SIGTERM handlers. Logging from the handler can deadlock if it interrupts the stdout logger while its spinlock is held. Iterate and shut down the server in normal execution context.