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 })