diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-16 22:30:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-16 22:30:08 +0900 |
| commit | a0337d04894e5c0a87b7313420e4d6e8a12fad94 (patch) | |
| tree | 7bcebc141a3afe42e0d253b90d18a7cbc42da378 /src | |
| parent | より良い重み付け (diff) | |
| download | sharkey-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.ts | 2 |
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(); } // 打たれたとき |