Commit 47051d0
committed
[Win] Prevent processing incomplete Image object #1742
In specific situations, Images may be added to the Device's registered
resources set when the Image is not fully initialized. This may lead to
AIOBEs when the addition to the resources set calls equals on the not
fully initialized image.
This change removes the processing of an non-initialized image by
ensuring that initialization is finished before the addition to the
Device's resource set happens.
Contributes to #17421 parent 290019e commit 47051d0
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 | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | 136 | | |
138 | 137 | | |
139 | 138 | | |
| |||
2077 | 2076 | | |
2078 | 2077 | | |
2079 | 2078 | | |
| 2079 | + | |
2080 | 2080 | | |
2081 | 2081 | | |
2082 | 2082 | | |
| |||
0 commit comments