Commit cababba
[Win32] Do not initialize font when already disposed
The on-demand creation of Font handles does not consider that a font may
already have been disposed when first retrieving it's handle, which
triggers the on-demand initialization. To avoid that this initialization
after disposal fails, this change adds a check for the font being
destroyed when performing the initialization.
Fixes eclipse-platform/eclipse.platform.ui#29601 parent b8d884b commit cababba
File tree
1 file changed
+1
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
0 commit comments