fix: invalid memory address or nil pointer dereference (#16922)

Signed-off-by: Need-an-AwP <113933967+Need-an-AwP@users.noreply.github.com>
This commit is contained in:
Need-an-AwP
2025-08-23 02:51:24 +08:00
committed by GitHub
parent 3eeecb4c7f
commit b558f81a82

View File

@@ -110,6 +110,7 @@ func newIPN(jsConfig js.Value) map[string]any {
ControlKnobs: sys.ControlKnobs(),
HealthTracker: sys.HealthTracker(),
Metrics: sys.UserMetricsRegistry(),
EventBus: sys.Bus.Get(),
})
if err != nil {
log.Fatal(err)