We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2caef5a commit 7ac5c1fCopy full SHA for 7ac5c1f
java/org/cef/browser/CefDevToolsClient.java
@@ -36,6 +36,7 @@ public void onDevToolsMethodResult(
36
future.completeExceptionally(
37
new DevToolsException("DevTools method failed", result));
38
}
39
+ removeQueuedCommand(messageId);
40
41
42
@Override
@@ -62,6 +63,10 @@ private CompletableFuture<String> getQueuedCommand(Integer messageId) {
62
63
return queuedCommands_.computeIfAbsent(messageId, key -> new CompletableFuture<>());
64
65
66
+ private void removeQueuedCommand(Integer messageId) {
67
+ queuedCommands_.remove(messageId);
68
+ }
69
+
70
/**
71
* Execute a method call over the DevTools protocol. See the <a
72
* href=https://chromedevtools.github.io/devtools-protocol/> DevTools protocol documentation</a>
0 commit comments