From 7b866ed3a82f9b0c057b15a3ddff2888b7e6e535 Mon Sep 17 00:00:00 2001 From: sawka Date: Fri, 6 Sep 2024 16:06:50 -0700 Subject: [PATCH] fix wshrpc concurrency --- pkg/wshutil/wshrpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/wshutil/wshrpc.go b/pkg/wshutil/wshrpc.go index 805932cd8..788719e5d 100644 --- a/pkg/wshutil/wshrpc.go +++ b/pkg/wshutil/wshrpc.go @@ -335,7 +335,7 @@ func (w *WshRpc) runServer() { continue } if msg.IsRpcRequest() { - w.handleRequest(&msg) + go w.handleRequest(&msg) } else { respCh := w.getResponseCh(msg.ResId) if respCh == nil {