If any threads that use OpenCV are still active at this point, they are doomed anyway, since other static storage duration objects might have already been destroyed.