We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bbdee7 commit 0965a7dCopy full SHA for 0965a7d
3 files changed
src/components/BenchmarkUI.jsx
@@ -44,6 +44,10 @@ export default function BenchmarkUI(properties) {
44
if (!window.electron) {
45
return;
46
}
47
+ // Ensure any running inference is stopped when entering Benchmark
48
+ try {
49
+ window.electron.stopInference();
50
+ } catch {}
51
async function getMaxThreads() {
52
const _maxThreads = await window.electron.getMaxThreads();
53
setMaxThreads(_maxThreads);
0 commit comments