mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-05 08:36:56 +08:00
chore: add more log
This commit is contained in:
@@ -126,7 +126,7 @@ func (s *Subscribers) Find(id string) ISubscriber {
|
||||
func (s *Subscribers) Delete(suber ISubscriber) {
|
||||
io := suber.GetSubscriber()
|
||||
for _, reader := range io.readers {
|
||||
reader.Track.ReaderCount.Add(-1)
|
||||
reader.Track.Debug("reader -1", zap.Int32("count", reader.Track.ReaderCount.Add(-1)))
|
||||
}
|
||||
if _, ok := s.public[suber]; ok {
|
||||
delete(s.public, suber)
|
||||
|
Reference in New Issue
Block a user