Browse Source

Extra non-pumping lock point

pull/5149/head
Nikita Tsukanov 6 years ago
parent
commit
aee0e0482c
  1. 1
      src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs

1
src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs

@ -366,6 +366,7 @@ namespace Avalonia.Win32
case WindowsMessage.WM_SIZE: case WindowsMessage.WM_SIZE:
{ {
using(NonPumpingSyncContext.Use())
using (_rendererLock.Lock()) using (_rendererLock.Lock())
{ {
// Do nothing here, just block until the pending frame render is completed on the render thread // Do nothing here, just block until the pending frame render is completed on the render thread

Loading…
Cancel
Save