mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 18:21:03 -03: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.min = min;
|
||||
this.buffer.max = max;
|
||||
|
||||
Reference in New Issue
Block a user