Skip to content

Commit

Permalink
Fix no record deadlock
Browse files Browse the repository at this point in the history
Fix error where an analyze process that writes no records caused a
deadlock.

Closes #112
  • Loading branch information
mattnibs committed Jul 6, 2021
1 parent c007919 commit f1ccc42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/analyzecli/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ func NewDisplay(jsonOut bool, pcapsize int64, span nano.Span) Display {
span: s,
}
}
live := uilive.New()
live.Start()
return &statusLineDisplay{
live: uilive.New(),
live: live,
pcapsize: pcapsize,
warnings: make(map[string]int),
}
Expand Down

0 comments on commit f1ccc42

Please sign in to comment.