I have a class that generalizes OpenGLAppComponent. This class was auto-generated by ProJucer, and all that I’ve done is add initialization of one class to the initialise() method.
In the process of step debugging my code to do some ad-hoc testing, I discovered that initialise() gets called twice. I tested and saw that the OpenGLAppComponent’s constructor is only called once, and the call stack to initialise() looks identical in both calls.
It’s possible this is caused by the step debugging, since that can screw up threading, and it’s also worth pointing out that my environment is Windows 10/VS2017.
A workaround is obvious, of course, but I thought it worth reporting in case it is a broad case rather than caused by something environmental.