OpenGLContext::copyTexture and leak issue

The app has 2 OpenGlContext and it is set by 2 render and both call copyTexture.
When exit app, second call to detach triggered LeakedObjectDetector.
juce::LeakedObjectDetector<juce::OpenGLShaderProgram::Uniform> *

if does not call copyTexture, there is no problem when exit.