ianr0bkny / go-sonos

A Go-language library for accessing UPnP AV devices
Other
87 stars 23 forks source link

Added fix for race condition which leads to channels blocking on write #5

Closed wolfeidau closed 9 years ago

wolfeidau commented 9 years ago

Looks like the order of things happening is causing code to execute in an order which causes a blocking write to a channel.

This change enables things to coalesce without locking up.

Fixes #4