1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-06-14 18:53:20 +00:00

Use select to block the main thread

This commit is contained in:
raylu 2011-03-09 19:48:57 -06:00
parent 186519214f
commit 420f9ed131

View file

@ -29,7 +29,7 @@ func main() {
} }
} }
<- make(chan bool) select { }
} }
func connect(network string) { func connect(network string) {