From d00fa0599e8aa6843891c7ad0b830aa56f87f508 Mon Sep 17 00:00:00 2001 From: 1-6 Date: Tue, 25 Jul 2023 17:40:35 +0800 Subject: [PATCH] x --- core/grpc_plugins.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/grpc_plugins.go b/core/grpc_plugins.go index 4c739d9..f76218d 100644 --- a/core/grpc_plugins.go +++ b/core/grpc_plugins.go @@ -303,7 +303,12 @@ func AddNodePlugin(path, name string) error { } s := value.(common.Sender) if s.GetPluginID() == uuid { - p.Process.Kill() + func() { + defer func() { + recover() + }() + p.Process.Kill() + }() } return true })