Fix CPU Hang

This commit is contained in:
Liang Ding 2014-12-24 13:41:49 +08:00
parent ea0bf4bae0
commit 39a3ac13d2
1 changed files with 1 additions and 1 deletions

View File

@ -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