mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Fix shutdown logic for slave
Shutdown running instances and close the connection to the master server on slave stop. Remove call to process.exit on shutdown as it's no longer needed.
This commit is contained in:
1 parent
7aa340675b
commit
9f74d7b2ec
2 files changed
+13
-8
No files matched your search
@@ -79,7 +79,7 @@ before(async function() {
|
||||
});
|
||||
|
||||
after(async function() {
|
||||
this.timeout(200000);
|
||||
this.timeout(20000);
|
||||
if (slaveProcess) {
|
||||
console.log("Shutting down slave");
|
||||
slaveProcess.kill("SIGINT");
|
||||
|
||||
Reference in new issue
Block a user