Skip to content
Snippets Groups Projects
Commit 88127e44 authored by 高辛格's avatar 高辛格
Browse files

avoid negative wg counter

parent 29415180
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ func (m *mockDataListener) DataChange(eventType remoting.Event) bool {
fmt.Println(eventType)
m.eventList = append(m.eventList, eventType)
if eventType.Content == m.changedData {
m.client.Wait.Done()
m.client.Close()
}
return true
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment