Don't add channels until fully initialized.

This commit is contained in:
Michael Lipp 2025-01-28 18:08:28 +01:00
parent 85be5b9cbf
commit 5cd4edcec1
2 changed files with 19 additions and 0 deletions

View file

@ -352,6 +352,8 @@ public class VmMgmt extends FreeMarkerConlet<VmMgmt.VmsModel> {
case "stop":
fire(new ModifyVm(vmName, "state", "Stopped", vmChannel));
break;
case "openConsole":
break;
case "cpus":
fire(new ModifyVm(vmName, "currentCpus",
new BigDecimal(event.param(1).toString()).toBigInteger(),