- fix bug in unregisterChan

This commit is contained in:
gazebo
2019-03-06 17:20:34 +08:00
parent d608b4dd63
commit 83be4fb716

View File

@@ -91,7 +91,7 @@ func registerChan(storeID int, chan2Listen chan<- *ServerMsg) {
func unregisterChan(storeID int, chan2Listen chan<- *ServerMsg) {
chan2Close := make(chan int)
msgChan <- &ServerMsg{
Type: ServerMsgRegister,
Type: ServerMsgUnregister,
MsgData: &MsgOp{
StoreID: storeID,
Chan2Listen: chan2Listen,