Skip to content

Commit

Permalink
Revert "dispose of pixelbuffer"
Browse files Browse the repository at this point in the history
This reverts commit ff89176.
  • Loading branch information
tomlm committed Nov 30, 2024
1 parent ff89176 commit 94844a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Consolonia.Core/Infrastructure/ConsoleWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ private void OnConsoleOnResized()
// dispatch to the UI thread
Dispatcher.UIThread.Post(() =>
{
(PixelBuffer as IDisposable)?.Dispose();
PixelBuffer = new PixelBuffer(Console.Size);
var size = new Size(Console.Size.Width, Console.Size.Height);
Resized!(size, WindowResizeReason.Unspecified);
Expand Down

0 comments on commit 94844a3

Please sign in to comment.