mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
delete contents of slide array before reassigning
This commit is contained in:
parent
3a929919a3
commit
4c74c8c40c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user