Skip to content

Commit

Permalink
Free render target
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan100sic authored and enricogior committed Dec 8, 2020
1 parent 1240598 commit 4ced84b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/modules/fancyzones/lib/ZoneWindowDrawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,4 +315,9 @@ ZoneWindowDrawing::~ZoneWindowDrawing()
}
m_cv.notify_all();
m_renderThread.join();

if (m_renderTarget)
{
m_renderTarget->Release();
}
}

0 comments on commit 4ced84b

Please sign in to comment.