I’m having some really strange behvaiour, where an unitialized pointer to my audio processor is valid, even if I explicitely set it to nullptr.
OdinAudioProcessor* m_processor = nullptr; //the ptr is never set anywhere
m_processor = nullptr;//just make it nullptr again to flex on Bjarne Stroustrup m_processor->startMidiLearn(this); //works just fine!??
of course I’d be happy and move on, but this is future segfault territory.
Is there some C++ feature unknown to me, which makes a pointer of a specific class always the same static object? This is just a shot in the blue…