Single message memory leak from audioplugin

This is going to sound a little vague, i know

Sometimes when i build a JuceAudioPlugin, the debugger tells me that it’s detected a memory leak when the plug is destroyed, and it’s always from a single Message object. Can you think of anything that might cause this? Sometimes i can manage to stop it, but my current one is baffling me to the maximum. It’s not a very serious leak (1 message!) but it’s annoying to know that it’s there…

any ideas? sorry it’s uber vague, just thought you may instinctively know what may cause such a thing.

Don’t worry - sometimes when the dll is unloaded, the messagemanager gets deleted before all the messages on the queue have been processed. Not a big deal, and nothing much I can think of that’d fix it either.