- 修复查询分享的资源参数无效的问题

- 修复ssh连接并发写入websocket的问题
This commit is contained in:
dushixiang
2022-05-05 09:07:11 +08:00
parent 03b59d6a2f
commit b73bef0c08
7 changed files with 59 additions and 35 deletions

View File

@ -70,7 +70,7 @@ func sendObData(sessionId, s string) {
if nextSession.Observer != nil {
obs := nextSession.Observer.All()
for _, ob := range obs {
_ = api.WriteMessage(ob.WebSocket, dto.NewMessage(api.Data, s))
_ = ob.WriteMessage(dto.NewMessage(api.Data, s))
}
}
}