Commit 8c2e85c
committed
Make DPIZoomChangeHandlers concurrent R/W able #62
This commit changes the type of
DPIZoomChangeRegistry::dpiZoomChangeHandlers from TreeMap to
ConcurrentSkipListMap as at times there can be classes which can
register their handlers amidst a DPI change event leading to concurrent
read and write which can lead to ConcurrentModificationException
contributes to #62 and #1271 parent 9d3673c commit 8c2e85c
File tree
1 file changed
+2
-1
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments