anacrolix / dms

A UPnP DLNA Digital Media Server that includes basic video transcoding. Tested on a Panasonic Viera television, several Android UPnP apps, and Chromecast.
BSD 3-Clause "New" or "Revised" License
646 stars 96 forks source link

Fix concurrent map read/write race condition #144

Closed WithoutPants closed 4 months ago

WithoutPants commented 4 months ago

Fixes a race condition in upnp.Eventing.Subscribe which would cause a concurrent map read/write panic.

anacrolix commented 4 months ago

Thanks, I'll take a careful look soon.

anacrolix commented 4 months ago

Damn nice catch