From aee0e0482c68b714792b9cd3fc04134da057478c Mon Sep 17 00:00:00 2001 From: Nikita Tsukanov Date: Mon, 7 Dec 2020 22:18:55 +0300 Subject: [PATCH] Extra non-pumping lock point --- src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs index 61af3efd73..e7d16f731c 100644 --- a/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs +++ b/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs @@ -366,6 +366,7 @@ namespace Avalonia.Win32 case WindowsMessage.WM_SIZE: { + using(NonPumpingSyncContext.Use()) using (_rendererLock.Lock()) { // Do nothing here, just block until the pending frame render is completed on the render thread