|
|
|
@ -1,5 +1,6 @@ |
|
|
|
using System; |
|
|
|
using System.ComponentModel; |
|
|
|
using System.Diagnostics; |
|
|
|
using Avalonia.Reactive; |
|
|
|
using Avalonia.Controls.Metadata; |
|
|
|
using Avalonia.Controls.Platform; |
|
|
|
@ -531,6 +532,7 @@ namespace Avalonia.Controls |
|
|
|
// We need to wait for the renderer to complete any in-flight operations
|
|
|
|
Renderer.Dispose(); |
|
|
|
|
|
|
|
Debug.Assert(PlatformImpl != null); |
|
|
|
// The PlatformImpl is completely invalid at this point
|
|
|
|
PlatformImpl = null; |
|
|
|
|
|
|
|
|