summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-03-16 22:30:08 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-03-16 22:30:08 +0900
commita0337d04894e5c0a87b7313420e4d6e8a12fad94 (patch)
tree7bcebc141a3afe42e0d253b90d18a7cbc42da378 /src
parentより良い重み付け (diff)
downloadsharkey-a0337d04894e5c0a87b7313420e4d6e8a12fad94.tar.gz
sharkey-a0337d04894e5c0a87b7313420e4d6e8a12fad94.tar.bz2
sharkey-a0337d04894e5c0a87b7313420e4d6e8a12fad94.zip
Destroy background process when game ended
Diffstat (limited to 'src')
-rw-r--r--src/common/othello/ai/back.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/othello/ai/back.ts b/src/common/othello/ai/back.ts
index 55c77e6b34..c3a74a8348 100644
--- a/src/common/othello/ai/back.ts
+++ b/src/common/othello/ai/back.ts
@@ -88,6 +88,8 @@ process.on('message', async msg => {
}
});
//#endregion
+
+ process.exit();
}
// 打たれたとき