diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-06-24 20:58:23 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-06-24 20:58:23 +0200 |
commit | 94d06916485e5addeeab4444869b886f24f74c42 (patch) | |
tree | a1202506c6116218eb7addc21f1c8b68c06f9c7b /misc/main.go | |
parent | c62fafd110a74944f1439b6e109a058667f5f0ac (diff) |
Drop sleep
Diffstat (limited to 'misc/main.go')
-rw-r--r-- | misc/main.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/main.go b/misc/main.go index 5bcb50d..9b3997e 100644 --- a/misc/main.go +++ b/misc/main.go @@ -7,7 +7,6 @@ import ( "fmt" "log" "net" - "time" ) var service = flag.String("service", "192.168.240.20:33333", "PBX CTI Service") @@ -113,7 +112,6 @@ func main() { } defer c.Close() + defer msg(c, release) msg(c, associate) - time.Sleep(time.Second) - msg(c, release) } |