Don't warn about 'forgotten' window listeners, they are OK

This commit is contained in:
Vassiliy.Kudryashov
2017-07-17 19:15:07 +03:00
parent 57241d9c53
commit 5bdda32268
@@ -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);
}
}