mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r1172) -Fix: [Network] Pressing CTRL+C in dedicated server now closed the server
This commit is contained in:
parent
8c6c4e5262
commit
9bd54b592d
@ -167,6 +167,7 @@ static int DedicatedVideoMainLoop()
|
|||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
signal(SIGTERM, DedicatedSignalHandler);
|
signal(SIGTERM, DedicatedSignalHandler);
|
||||||
signal(SIGINT, DedicatedSignalHandler);
|
signal(SIGINT, DedicatedSignalHandler);
|
||||||
|
signal(SIGABRT, DedicatedSignalHandler);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Load the dedicated server stuff
|
// Load the dedicated server stuff
|
||||||
|
Loading…
Reference in New Issue
Block a user