mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-122188 IDEA 13.1 deadlock when loading project
This commit is contained in:
@@ -334,7 +334,6 @@ public class MacMainFrameDecorator extends IdeFrameDecorator implements UISettin
|
||||
myFullscreenQueue.runOrEnqueue( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (SystemInfo.isJavaVersionAtLeast("1.7")) {
|
||||
try {
|
||||
requestToggleFullScreenMethod.invoke(Application.getApplication(),myFrame);
|
||||
}
|
||||
@@ -344,16 +343,6 @@ public class MacMainFrameDecorator extends IdeFrameDecorator implements UISettin
|
||||
catch (InvocationTargetException e) {
|
||||
LOG.error(e);
|
||||
}
|
||||
} else {
|
||||
final ID window = MacUtil.findWindowForTitle(myFrame.getTitle());
|
||||
if (window == null) return;
|
||||
Foundation.executeOnMainThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
invoke(window, "toggleFullScreen:", window);
|
||||
}
|
||||
}, true, true);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user