Skip to content

Commit

Permalink
remove l.Stop()
Browse files Browse the repository at this point in the history
Signed-off-by: weli-l <1289113577@qq.com>
  • Loading branch information
weli-l committed Aug 31, 2024
1 parent 6733c67 commit 62deba4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/bpf/bpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func (l *BpfLoader) StartAdsMode() (err error) {
}()

if err = l.obj.Load(); err != nil {
l.Stop()
if errors.As(err, &ve) {
return fmt.Errorf("bpf Load failed: %+v", ve)
}
Expand Down

0 comments on commit 62deba4

Please sign in to comment.