You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the new 16th version of Stockfish does not respond to the "quit" command. When sending stockfish.postMessage("quit") - it continues to send analytics. Whereas the 15th version returns a status of 0 - successful termination of work - in the console.
The text was updated successfully, but these errors were encountered:
I run it like this on the web - stockfish = new Worker(/js/sf15/stockfish.js);
stockfish.onmessage = (event: MessageEvent) => {}
then I listen for its responses. So, the response stockfish.postMessage("quit") does not work as expected in version 16. I also observe this in version 11. It works fine in version 15.
Here's the archive with JS wrapper files of all the versions I use js.zip
It seems that the new 16th version of Stockfish does not respond to the "quit" command. When sending stockfish.postMessage("quit") - it continues to send analytics. Whereas the 15th version returns a status of 0 - successful termination of work - in the console.
The text was updated successfully, but these errors were encountered: