Skip to content

Commit 19043ce

Browse files
committed
don't delete a font in NotificationWnd::~NotificationWnd() (for #3799)
1 parent d083912 commit 19043ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notifications.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ NotificationWnd::~NotificationWnd() {
166166
auto fontToDelete = font;
167167
Destroy();
168168
str::Free(progressMsg);
169-
if (fontToDelete) {
169+
if (false && fontToDelete) {
170170
DeleteObject(fontToDelete);
171171
}
172172
}

0 commit comments

Comments
 (0)