Closed hieuht817 closed 8 years ago
I faced race condition. I think fixing this may solve:
// Set sets the SGR sequence. func (c *Color) Set() *Color { c.Lock() if c.isNoColorSet() { return c } fmt.Fprintf(Output, c.format()) return c } func (c *Color) unset() { if c.isNoColorSet() { return } Unset() c.Unlock() }
I faced race condition. I think fixing this may solve: