Added missing lock when reading field
@ -74,6 +74,9 @@ func (c *Channel) Id() string {
Checks that Channel is still alive
*/
func (c *Channel) IsAlive() bool {
c.aliveLock.Lock()
defer c.aliveLock.Unlock()
return c.alive
}