I don't play multiplayer matches. The only thing I've done remotely close to that is a game in the arcade section, and when I would play it I never had the trainer running.
If you went to MP after using the trainer in solo play without exiting the game first, this was how you were tracked. The game exe is still modified even if you close the trainer. You must exit out the game and restart it to clear it completely.