fix(windows): restore x64 and arm64 builds

This commit is contained in:
edde746
2026-07-26 15:32:02 +02:00
parent 5ee3120a97
commit 7e05686a7c
4 changed files with 47 additions and 11 deletions
+2 -2
View File
@@ -201,8 +201,8 @@ LRESULT CALLBACK MpvInnerSubclassProc(
if (message == WM_NCDESTROY) {
state->active.store(false, std::memory_order_release);
const HWND view = state->forward_target.exchange(nullptr, std::memory_order_acq_rel);
ReleaseForwardedPointer(*state, view);
const HWND forward_target = state->forward_target.exchange(nullptr, std::memory_order_acq_rel);
ReleaseForwardedPointer(*state, forward_target);
::RemoveWindowSubclass(hwnd, MpvInnerSubclassProc, subclass_id);
std::lock_guard<std::mutex> lock(g_inner_subclasses_mutex);
const auto it = g_inner_subclasses.find(hwnd);