Question: does barry allen restore the timeline?
Answer: Yes. In that episode Barry puts The reverse flash in a cage like a prison in a warehouse. ... And later in that episode he makes reverse flash go back in time and kill his mother. And he goes back to his original timeline.