From cbb8e2f29505f4d59b530ce70c1d5888e4247165 Mon Sep 17 00:00:00 2001 From: M09ic Date: Tue, 21 May 2024 18:05:27 +0800 Subject: [PATCH] misc update, bar and finger panic --- go.mod | 2 +- go.sum | 2 ++ pkg/bar.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 108440b..89338f8 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.2 require ( github.com/antonmedv/expr v1.15.5 github.com/chainreactors/files v0.0.0-20231123083421-cea5b4ad18a8 - github.com/chainreactors/fingers v0.0.0-20240425063355-2ed9bd9149d2 + github.com/chainreactors/fingers v0.0.0-20240521093617-f8ffb3ecdc18 github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f github.com/chainreactors/parsers v0.0.0-20240422094636-b88693700dfc github.com/chainreactors/utils v0.0.0-20240302165634-2b8494c9cfc3 diff --git a/go.sum b/go.sum index b2d143e..65e049a 100644 --- a/go.sum +++ b/go.sum @@ -15,6 +15,8 @@ github.com/chainreactors/files v0.0.0-20231123083421-cea5b4ad18a8/go.mod h1:/Xa9 github.com/chainreactors/fingers v0.0.0-20240304115656-fa8ca9fc375f/go.mod h1:cO2a79lRNSaM6hu17xIyws5eWCWxjcRxY9IFPlss2lE= github.com/chainreactors/fingers v0.0.0-20240425063355-2ed9bd9149d2 h1:DHnjmpeZYJWEsUqr6s0wqu1MYcWRFvHGYNS04dTzhdg= github.com/chainreactors/fingers v0.0.0-20240425063355-2ed9bd9149d2/go.mod h1:cO2a79lRNSaM6hu17xIyws5eWCWxjcRxY9IFPlss2lE= +github.com/chainreactors/fingers v0.0.0-20240521093617-f8ffb3ecdc18 h1:gapflZSatRTQZ2c72wFBSGNEN57pwzUqm+vhlthIkOw= +github.com/chainreactors/fingers v0.0.0-20240521093617-f8ffb3ecdc18/go.mod h1:cO2a79lRNSaM6hu17xIyws5eWCWxjcRxY9IFPlss2lE= github.com/chainreactors/logs v0.0.0-20231027080134-7a11bb413460/go.mod h1:VZFqkFDGmp7/JOMeraW+YI7kTGcgz9fgc/HArVFnrGQ= github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f h1:tcfp+CEdgiMvjyUzWab5edJtxUwRMSMEIkLybupIx0k= github.com/chainreactors/logs v0.0.0-20240207121836-c946f072f81f/go.mod h1:6Mv6W70JrtL6VClulZhmMRZnoYpcTahcDTKLMNEjK0o= diff --git a/pkg/bar.go b/pkg/bar.go index fe20e11..49e3f4d 100644 --- a/pkg/bar.go +++ b/pkg/bar.go @@ -57,5 +57,5 @@ func (bar *Bar) Close() { if bar.bar == nil { return } - bar.bar.Abort(false) + bar.bar.Abort(true) }