Skip to content

Commit

Permalink
don't delete a font in NotificationWnd::~NotificationWnd() (for #3799)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Oct 24, 2023
1 parent d083912 commit 19043ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Notifications.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ NotificationWnd::~NotificationWnd() {
auto fontToDelete = font;
Destroy();
str::Free(progressMsg);
if (fontToDelete) {
if (false && fontToDelete) {
DeleteObject(fontToDelete);
}
}
Expand Down

0 comments on commit 19043ce

Please sign in to comment.