From 15da46906575ab20ee5bfb108acf4de1829c0b44 Mon Sep 17 00:00:00 2001 From: AlexStocks Date: Sun, 7 Jul 2019 16:14:44 +0800 Subject: [PATCH] Fix: do not invoke s.incWritePkgNum in handleLoop because WriteBytes will invoke it --- session.go | 1 - 1 file changed, 1 deletion(-) diff --git a/session.go b/session.go index 044c9081..8b5e7ffb 100644 --- a/session.go +++ b/session.go @@ -552,7 +552,6 @@ LOOP: flag = false // break LOOP } - s.incWritePkgNum() } else { log.Infof("[session.handleLoop] drop writeout package{%#v}", outPkg) }