Skip to content

Commit

Permalink
fix: try 1
Browse files Browse the repository at this point in the history
  • Loading branch information
flexxxxer committed Aug 3, 2023
1 parent 4d6cd42 commit adcaf6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Avalonia.Controls/TopLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ private protected virtual void HandleClosed()
Renderer.SceneInvalidated -= SceneInvalidated;
// We need to wait for the renderer to complete any in-flight operations
Renderer.Dispose();
StopRendering();

Debug.Assert(PlatformImpl != null);
// The PlatformImpl is completely invalid at this point
Expand Down

0 comments on commit adcaf6a

Please sign in to comment.