I close mine every time I'm not using them.
I had a guy walk past my bike and he got a little too close while they were open and bumped the peg with his leg and it cut his shin open pretty bad.