mirror of
https://github.com/ansible/awx.git
synced 2026-03-24 12:25:01 -02:30
delete contents of slide array before reassigning
This commit is contained in:
@@ -114,6 +114,9 @@ function SlidingWindowService ($q) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.buffer.events.length = 0;
|
||||||
|
delete this.buffer.events;
|
||||||
|
|
||||||
this.buffer.events = frames;
|
this.buffer.events = frames;
|
||||||
this.buffer.min = min;
|
this.buffer.min = min;
|
||||||
this.buffer.max = max;
|
this.buffer.max = max;
|
||||||
|
|||||||
Reference in New Issue
Block a user