We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e61ed commit 62e8bd6Copy full SHA for 62e8bd6
.changeset/rich-balloons-prove.md
@@ -0,0 +1,5 @@
1
+---
2
+"apollo-client-devtools": patch
3
4
+
5
+Fixed a memory leak issue with devtools
src/extension/messageAdapters.ts
@@ -18,9 +18,6 @@ export function createPortMessageAdapter<
18
return {
19
addListener(listener) {
20
port.onMessage.addListener(listener);
21
- port.onDisconnect.addListener(() => {
22
- port.onMessage.removeListener(listener);
23
- });
24
25
return () => {
26
port.onMessage.removeListener(listener);
0 commit comments