mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
fix wshrpc concurrency
This commit is contained in:
parent
b85cfc9d2d
commit
7b866ed3a8
@ -335,7 +335,7 @@ func (w *WshRpc) runServer() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if msg.IsRpcRequest() {
|
if msg.IsRpcRequest() {
|
||||||
w.handleRequest(&msg)
|
go w.handleRequest(&msg)
|
||||||
} else {
|
} else {
|
||||||
respCh := w.getResponseCh(msg.ResId)
|
respCh := w.getResponseCh(msg.ResId)
|
||||||
if respCh == nil {
|
if respCh == nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user