Close instance
It should not destroy :P
This commit is contained in:
parent
a7ee5501e3
commit
a339293774
|
@ -52,7 +52,7 @@ func main() {
|
|||
signal.Notify(ch, os.Interrupt, syscall.SIGSEGV)
|
||||
go func() {
|
||||
<-ch
|
||||
client.Destroy()
|
||||
client.Close()
|
||||
}()
|
||||
|
||||
me, err := client.GetMe()
|
||||
|
|
|
@ -60,7 +60,7 @@ func main() {
|
|||
signal.Notify(ch, os.Interrupt, syscall.SIGSEGV)
|
||||
go func() {
|
||||
<-ch
|
||||
client.Destroy()
|
||||
client.Close()
|
||||
}()
|
||||
|
||||
me, err := client.GetMe()
|
||||
|
|
|
@ -60,7 +60,7 @@ func main() {
|
|||
signal.Notify(ch, os.Interrupt, syscall.SIGSEGV)
|
||||
go func() {
|
||||
<-ch
|
||||
client.Destroy()
|
||||
client.Close()
|
||||
}()
|
||||
|
||||
me, err := client.GetMe()
|
||||
|
|
|
@ -60,7 +60,7 @@ func main() {
|
|||
signal.Notify(ch, os.Interrupt, syscall.SIGSEGV)
|
||||
go func() {
|
||||
<-ch
|
||||
client.Destroy()
|
||||
client.Close()
|
||||
}()
|
||||
|
||||
me, err := client.GetMe()
|
||||
|
|
|
@ -60,7 +60,7 @@ func main() {
|
|||
signal.Notify(ch, os.Interrupt, syscall.SIGSEGV)
|
||||
go func() {
|
||||
<-ch
|
||||
client.Destroy()
|
||||
client.Close()
|
||||
}()
|
||||
|
||||
me, err := client.GetMe()
|
||||
|
|
Loading…
Reference in a new issue