Browse Source

Merge branch 'master' into fixes/TextLineCaretNavigation

pull/4332/head
Benedikt Stebner 6 years ago
committed by GitHub
parent
commit
d92cbdb8e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/Avalonia.X11/X11Window.cs

9
src/Avalonia.X11/X11Window.cs

@ -760,11 +760,7 @@ namespace Avalonia.X11
public void Dispose()
{
if (_handle != IntPtr.Zero)
{
XDestroyWindow(_x11.Display, _handle);
Cleanup();
}
Cleanup();
}
void Cleanup()
@ -787,8 +783,7 @@ namespace Avalonia.X11
}
if (_useRenderWindow && _renderHandle != IntPtr.Zero)
{
XDestroyWindow(_x11.Display, _renderHandle);
{
_renderHandle = IntPtr.Zero;
}
}

Loading…
Cancel
Save