Correct default values when switching clusters

This commit is contained in:
Christoph Kluge 2023-06-15 16:11:51 +02:00
parent 2146fccaae
commit dbd2b491ed

View File

@ -59,7 +59,7 @@
} }
$: { $: {
if (isOpen && $initialized && pendingNumHWThreads.from == null && pendingNumHWThreads.to == null) { if (isOpen && $initialized && ((pendingNumHWThreads.from == null && pendingNumHWThreads.to == null) || (isHwthreadsModified == false))) {
pendingNumHWThreads = { from: 0, to: maxNumHWThreads } pendingNumHWThreads = { from: 0, to: maxNumHWThreads }
} }
} }