mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Sending ^C via the terminal on Linux may cause SIGINT to be sent twice to the factorio process, causing it to exit without completing the saving. This happens because the shell sends the interupt to all members of the process group for the job and this includes both the node client process and the factorio server process. Avoid this situation by passing detached to spawn when the platform is Linux, which causes the process to be created with its own process group and therefore not targeted by a SIGINT from the shell. This unfortunately does not work on Windows as we can't send SIGINT or ^C to a process there. Doing subprocces.kill on Windows terminates the process similarly to how SIGKILL works on Linux.
18 lines
476 B
Markdown
18 lines
476 B
Markdown
Changelog
|
|
=========
|
|
|
|
Version 1.2.1
|
|
-------------
|
|
|
|
- Updated node-factorio-api to v0.3.8 to fix mod downloads randomly breaking
|
|
([#229][#229].)
|
|
- Fixed SIGINT being sent twice to Factorio server when interrupted by CTRL+C
|
|
on Linux ([#217][#217].)
|
|
|
|
[#217]: https://github.com/clusterio/factorioClusterio/issues/217
|
|
[#229]: https://github.com/clusterio/factorioClusterio/issues/229
|
|
|
|
### Breaking Changes
|
|
|
|
- Added authentication to the socket.io server running on the master.
|