How to turn off the event management system?


#1

I want to write a program in juce which does background processing on some files, much like a batch program. I am using AudioTransportSource in this but am getting assertions due to MessageManager.instance being 0. Is there a way to turn off the event management system?


#2

Well, no, not if you want to use classes that rely on it - if there are assertions, then they’re happening for a good reason! Why not just leave the event system running? It doesn’t do any harm.