Fix CPU Hang
This commit is contained in:
parent
ea0bf4bae0
commit
39a3ac13d2
|
@ -229,7 +229,7 @@ func RunHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
channelRet["cmd"] = "run"
|
||||
channelRet["output"] = "<span class='stderr'>" + buf + "</span>"
|
||||
err := wsChannel.WriteJSON(&channelRet)
|
||||
err = wsChannel.WriteJSON(&channelRet)
|
||||
if nil != err {
|
||||
logger.Error(err)
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue