1
0
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:
Jake McDermott 2018-11-05 19:03:51 -05:00
parent 3a929919a3
commit 4c74c8c40c
No known key found for this signature in database
GPG Key ID: 9A6F084352C3A0B7

View File

@ -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;