Skip to content

Local SF 18 engine doesn't stop if pressing "Go deeper" button really fast #19464

@Siderite

Description

@Siderite

Steps to reproduce:

  1. Go to Analysis Board (initial position is good enough)
  2. Start the local engine - I used SF18 15Mb (it should show the cloud eval)
  3. Place your mouse over the + button that would start local engine anyway (goDeeper)
  4. Refresh the page
  5. Immediately as the + button appears, click it
  6. Wait until you see the CPU go to 100%
  7. Stop the engine

The engine should stop and the UI shows that to be happening, but the engine is still running in the background and consuming CPU.

ceval.worker.stop() or ceval.worker.destroy() do nothing.

I am not that versed into the local computer engine, especially with all the new versions, to realize what is going on. I will try to debug it, but don't count on me.

One can duplicate it with the console as well, if the mouse is too unwieldy, by preparing the statement site.analysis.ceval.goDeeper() just before refresh, then pressing Enter in the DevTools console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions