终止 glfw 并关闭任何打开的 windows 是否会破坏使用所述 windows 的任何 opengl 上下文?

Does terminating glfw and closing any open windows destroy any opengl contexts using said windows?

是否打电话:

glfwTerminate();
glfwDestroyWindow(windowID);

终止所有使用现已关闭的 glfw 上下文 windows?

是:

Window objects: The GLFWwindow object encapsulates both a window and a context. They are created with glfwCreateWindow and destroyed with glfwDestroyWindow, or glfwTerminate, if any remain.