Skip to content

Commit

Permalink
Fix Hikvision extra waitgroup add
Browse files Browse the repository at this point in the history
  • Loading branch information
toxuin committed Jun 7, 2021
1 parent 823e2ce commit 6e873cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion servers/hikvision/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ func (server *Server) Start() {
go server.MessageHandler(event.Camera.Name+"/"+event.Type, event.Message)
}
}(&cameraWaitGroup, eventChannel)
cameraWaitGroup.Add(1)

cameraWaitGroup.Wait()
}

0 comments on commit 6e873cb

Please sign in to comment.