lichess-org / lichess-org/stockfish.wasm
How to kill process created by Stockfish()?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 344
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
When you execute Stockfish() it creates an instance of something (engine I guess?) that sits in memory until the main process is killed. Is it possible to kill that thing someway without killing main thread?
I'm running stockfish.wasm on Node.JS server.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names Stockfish() and stockfish.wasm running on a Node.js server, but it does not identify a file or test. Start by tracing how Stockfish() creates and owns the engine instance and whether the Node.js integration exposes a shutdown path. Done means the engine can be stopped without terminating the main process, with behavior covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, wasm
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100