From 319beb357f783231ae3b2ebeec733450cebeef8d Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 23 Jun 2022 16:56:32 +0200 Subject: [PATCH] GL: avoided GLFW double termination --- src/video_display/gl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/video_display/gl.cpp b/src/video_display/gl.cpp index a74e1529d..85013d104 100644 --- a/src/video_display/gl.cpp +++ b/src/video_display/gl.cpp @@ -678,7 +678,6 @@ static void * display_gl_init(struct module *parent, const char *fmt, unsigned i free(tmp); if (ret != s) { delete s; - ref_count_terminate_last()(glfwTerminate, glfw_init_count); return ret; } }