Skip to content

Commit

Permalink
Change: Make Route Viewer leak a little less memory
Browse files Browse the repository at this point in the history
  • Loading branch information
leezer3 committed Nov 4, 2022
1 parent 6ac6489 commit 895d6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/RouteViewer/ProgramR.cs
Expand Up @@ -390,7 +390,7 @@ internal static void keyDownEvent(object sender, KeyboardKeyEventArgs e)
bitmap.UnlockBits(bData);
bitmap.RotateFlip(RotateFlipType.RotateNoneFlipY);
}
Renderer.Initialize();
Renderer.Reset();
CameraAlignment a = Renderer.Camera.Alignment;
if (LoadRoute(bitmap))
{
Expand Down

0 comments on commit 895d6bc

Please sign in to comment.