mirror of
https://github.com/fluffle/goirc
synced 2025-06-14 02:33:21 +00:00
Use select to block the main thread
This commit is contained in:
parent
186519214f
commit
420f9ed131
1 changed files with 1 additions and 1 deletions
2
rbot.go
2
rbot.go
|
@ -29,7 +29,7 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
<- make(chan bool)
|
select { }
|
||||||
}
|
}
|
||||||
|
|
||||||
func connect(network string) {
|
func connect(network string) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue