kopia lustrzana https://github.com/cyoung/stratux
Not reading async.
rodzic
860474959a
commit
a1227db377
|
@ -20,7 +20,6 @@ func sigAbort(dev *rtl.Context) {
|
||||||
ch := make(chan os.Signal)
|
ch := make(chan os.Signal)
|
||||||
signal.Notify(ch, syscall.SIGINT)
|
signal.Notify(ch, syscall.SIGINT)
|
||||||
<-ch
|
<-ch
|
||||||
_ = dev.CancelAsync()
|
|
||||||
dev.Close()
|
dev.Close()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue