EvoEsports / EvoSC

EvoSC is a modern server-controller for TM²/TM2020 running on PHP7.4
https://evoesports.gg
Other
64 stars 20 forks source link

Fix SIGINT not handled by EscRunSignal when using pcntl #276

Closed snixtho closed 2 years ago

snixtho commented 2 years ago

When using the pcntl module, a different class is used which handles the system signals to shut down evosc. However it was forgotten to add support for SIGINT, making it impossible to close the process through the terminal as an example. This pull request adds a subscription to SIGINT as well.