Skip to content

Commit

Permalink
retinaebpfapi#syscall#5
Browse files Browse the repository at this point in the history
  • Loading branch information
vpidatala94 committed Feb 22, 2025
1 parent c3635d3 commit 33df514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugin/ebpfwindows/ebpf_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func (p *Plugin) Start(ctx context.Context) error {
p.l.Info("Start ebpfWindows plugin...")
p.enricher = enricher.Instance()
p.enricher.Run()
defer p.enricher.Reader.Close()
p.pullCiliumMetricsAndEvents(ctx)
p.l.Info("Complete ebpfWindows plugin...")
return nil
Expand Down Expand Up @@ -196,6 +195,7 @@ func (p *Plugin) SetupChannel(ch chan *v1.Event) error {
// Stop the plugin by cancelling the periodic timer.
func (p *Plugin) Stop() error {
p.l.Info("Stop ebpfWindows plugin...")
p.enricher.Reader.Close()
return nil
}

Expand Down

0 comments on commit 33df514

Please sign in to comment.