[build] Fix Gradle compile_commands.json and clang-tidy warnings (#5977)

This commit is contained in:
Tyler Veness
2023-12-02 21:20:43 -08:00
committed by GitHub
parent 76ae090570
commit ca272de400
11 changed files with 123 additions and 6 deletions

View File

@@ -99,8 +99,9 @@ WindowsMessagePump::WindowsMessagePump(
WindowsMessagePump::~WindowsMessagePump() {
auto res = SendMessageA(hwnd, WM_CLOSE, NULL, NULL);
if (m_mainThread.joinable())
if (m_mainThread.joinable()) {
m_mainThread.join();
}
}
void WindowsMessagePump::ThreadMain(HANDLE eventHandle) {