mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Don't warn about 'forgotten' window listeners, they are OK
This commit is contained in:
@@ -970,7 +970,7 @@ public abstract class DialogWrapper {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
for (WindowListener listener : window.getWindowListeners()) {
|
||||
if (listener.getClass().getName().startsWith("com.intellij.")) {
|
||||
LOG.warn("Stale listener: " + listener);
|
||||
//LOG.warn("Stale listener: " + listener);
|
||||
window.removeWindowListener(listener);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user