Skip to content

Commit

Permalink
fix: 修复预计算重新启动时出现空指针 --bug=131931293 (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
rxwycdh authored Oct 10, 2024
1 parent 82a8aaf commit 860a927
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ func (w *DistributiveWindow) getSubWindowMetrics(subId int) (int, int) {
traceCount := 0
spanCount := 0

if subWindow == nil {
return traceCount, spanCount
}
subWindow.m.Range(func(key, value any) bool {
traceCount++
v := value.(CollectTrace)
Expand Down

0 comments on commit 860a927

Please sign in to comment.