fixed RLock typo

This commit is contained in:
David Zhao
2021-04-07 14:11:47 -07:00
parent 144351a89a
commit b29bde4b87
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ func (p *ParticipantImpl) AddTrack(clientId, name string, trackType livekit.Trac
}
func (p *ParticipantImpl) GetPublishedTracks() []types.PublishedTrack {
p.lock.RUnlock()
p.lock.RLock()
defer p.lock.RUnlock()
tracks := make([]types.PublishedTrack, 0, len(p.publishedTracks))
for _, t := range p.publishedTracks {
+1 -1
View File
@@ -1,3 +1,3 @@
package version
const Version = "0.7.2"
const Version = "0.7.3"