lib/agent/handler/sequence_book.rb in site24x7_apminsight-1.8.8 vs lib/agent/handler/sequence_book.rb in site24x7_apminsight-1.9.0

- old
+ new

@@ -60,10 +60,10 @@ tracker.sibling = nil @openTracker = nil # Marks end of transaction if @rootTracker == tracker - if @listenFlag < 1 || (@listenFlag >= 1 && @trackerCount > 1) + if @listenFlag < 1 || (@listenFlag >= 1 && @trackerCount > 0) # if some trackers are not closed, while processing the metrics, it may go into infinite loop if (@closedTrackerCount - @trackerCount) == 0 sequenceBag = Hash.new sequenceBag["roottracker"] = @rootTracker sequenceBag["exceptions"] = @exceptionBag \ No newline at end of file