I needed to add some small background processing so I changed one of my audio classes into a Thread and added the job in a run() method.
It then when I started to notice severe audio glitches with slowdown of the message loop - It only happened in release mode.
The thing is, that the run() method was never called, it was only the inheritance from Thread that created this issue.
Removing the inheritance solved the problem, and therefore my question is:
Why adding a Thread inheritance caused such a bug? since the methods in the class were called by the audio thread and were’n’t supposed to be affected by this