I’m sure she won’t mind if her BF does the same!
What’s good for the gander is good for the goose and all that..
She probably doesn't mind. She is making it very clear that she knows she is desirable enough to expect a commitment from a great guy and isn't afraid of her current relationship with the guy ending.
Such a woman is far more desirable than one who is so lacking in confidence that they cling to any relationship. A woman like that will just be used by men who won't commit.
Every good man should want such a confident woman.