Commit f68ee01f authored by Viktor Shatrov's avatar Viktor Shatrov
Browse files

WebConsole: fix memory leak

parent 13b3d568
Showing with 0 additions and 5 deletions
+0 -5
......@@ -24,7 +24,6 @@ import org.jetbrains.annotations.Nullable;
import javax.swing.*;
import java.awt.*;
import java.awt.event.KeyListener;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
......@@ -173,10 +172,6 @@ public class JavaFxHtmlPanel implements Disposable {
);
}
public void addKeyListener(KeyListener l) {
runInPlatformWhenAvailable(() -> myPanel.addKeyListener(l));
}
@NotNull
protected WebView getWebViewGuaranteed() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment