Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fixing win32.go

Cette révision appartient à :
akuma06 2017-07-14 23:52:30 +02:00
Parent 8ac976fdfd
révision b820cafe8c

Voir le fichier

@ -12,7 +12,7 @@ func Handle() {
chnl := make(chan os.Signal)
signal.Notify(chnl, os.Interrupt)
go func(chnl chan os.Signal) {
for sig := chnl {
for sig := range chnl {
switch sig {
case os.Interrupt:
// this also closes listeners