Adding bars and pedal lines

When inserting or adding new bars using Shift-B, pedal lines are extended to this new bars. I don’t understand the reason of this behaviour. I just want empty new bars…

I imagine that in the properties panel there’s a toggle to end pedalling? Not at computer right now

The beginning of a pedal line is attached to a note, the ending of pedal lines seems to be attached to the barline. Perhaps that’s why pedal lines are extended when adding bars. It’s no big deal though.