Denis V. Dedkov пре 9 година
родитељ
комит
964aa84a15
1 измењених фајлова са 0 додато и 3 уклоњено
  1. 0 3
      noolite-cli.go

+ 0 - 3
noolite-cli.go

@@ -22,9 +22,6 @@ func sendCommand(command string, channel, value, r, g, b int) error {
 	n, err := noolite.DefaultNooliteAdapter()
 
 	if err != nil {
-		if n != nil {
-			n.Close()
-		}
 		return err
 	}