Skip to content

Commit c0a8d4c

Browse files
authored
Merge pull request UE4SS-RE#780 from UE4SS-RE/fix-opengl-window-not-closing
Added missing glfw cleanup calls
2 parents f8401e5 + 8c524d4 commit c0a8d4c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

UE4SS/src/GUI/GLFW3_OpenGL3.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ namespace RC::GUI
8686

8787
auto Backend_GLFW3_OpenGL3::cleanup() -> void
8888
{
89+
glfwDestroyWindow(m_window);
90+
glfwTerminate();
8991
}
9092

9193
auto Backend_GLFW3_OpenGL3::create_device() -> bool

assets/Changelog.md

+3
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ Fixed `ModsFolderPath` in `UE4SS-settings.ini` not working ([UE4SS #609](https:/
184184

185185
Fixed `attempt to index a nil value (global 'NewController')` error in `SplitScreenMod` ([UE4SS #729](https://github.com/UE4SS-RE/RE-UE4SS/pull/729))
186186

187+
Fixed the GUI not closing properly with CTRL + O when OpenGL is enabled in
188+
`UE4SS-settings.ini`. ([UE4SS #780](https://github.com/UE4SS-RE/RE-UE4SS/pull/780))
189+
187190
### Live View
188191
Fixed the "Write to file" checkbox not working for functions in the `Watches` tab ([UE4SS #419](https://github.com/UE4SS-RE/RE-UE4SS/pull/419))
189192

0 commit comments

Comments
 (0)