mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
8305352: updateIconImages may lead to deadlock after JDK-8276849
Reviewed-by: aivanov, serb
(cherry picked from commit f968da97a5)
This commit is contained in:
committed by
Vitaly Provodin
parent
2758579b5a
commit
7ea52c4be6
@@ -625,7 +625,9 @@ public class WWindowPeer extends WPanelPeer implements WindowPeer,
|
||||
newDev.addDisplayChangedListener(this);
|
||||
}
|
||||
|
||||
updateIconImages();
|
||||
if (((Window)target).isVisible()) {
|
||||
updateIconImages();
|
||||
}
|
||||
|
||||
AWTAccessor.getComponentAccessor().
|
||||
setGraphicsConfiguration((Component)target, winGraphicsConfig);
|
||||
|
||||
Reference in New Issue
Block a user