更新协议type
This commit is contained in:
parent
48f1bb7404
commit
726ceecc72
@ -154,7 +154,10 @@ func (a *appTerm) OnClose() bool {
|
|||||||
if !b {
|
if !b {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if a.sshService.Client != nil {
|
||||||
a.sshService.Client.Close()
|
a.sshService.Client.Close()
|
||||||
|
}
|
||||||
|
|
||||||
}, toolWin.w)
|
}, toolWin.w)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ func (this *apiComp) Choose(session comm.IUserSession, req *pb.RtaskChooseReq) (
|
|||||||
rsp := &pb.RtaskFinishPush{
|
rsp := &pb.RtaskFinishPush{
|
||||||
RtaskId: req.RtaskId,
|
RtaskId: req.RtaskId,
|
||||||
}
|
}
|
||||||
if err := session.SendMsg(string(this.moduleRtask.GetType()), RtaskSubTypeChoose, rsp); err != nil {
|
if err := session.SendMsg(string(this.moduleRtask.GetType()), "finish", rsp); err != nil {
|
||||||
code = pb.ErrorCode_SystemError
|
code = pb.ErrorCode_SystemError
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user