Upvote:2
If flying, you don't leave the UK on any passport, as there are no exit formalities.
If travelling by train or sea, the carrier will do an exit check - in this case your other EU passport will do, as EU citizens have freedom of movement.
And what does Brexit have to do with this? It won't happen until 2019 (most likely).
In any case, you'll be fine.