How to stop persistent linebatcher?

I am drawing lines with PersistenLineBatcher. I didn’t set life time, so it does not disappear, but I want to remove them when I want to. Is there any way to cancel persistent linebatcher drawing lines?

The LineBatcher has a flush function. That should do the trick.

Hi.

More detailed answer here