From 7619421236342796c7f4308ff77950355f06ea22 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期三, 06 一月 2021 16:23:55 +0800
Subject: [PATCH] 添加日志
---
hbusc.go | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/hbusc.go b/hbusc.go
index def5a75..0e4d58e 100644
--- a/hbusc.go
+++ b/hbusc.go
@@ -277,7 +277,9 @@
//Release
func (h *BHBus) Free() {
+ h.printLog("call BHBus free")
h.wg.Wait()
+ h.printLog("h.wg.Wait done")
for _,v := range h.m {
v.sock.Close()
}
--
Gitblit v1.8.0