diff --git a/background.js b/background.js index 59696cc..e5cb768 100644 --- a/background.js +++ b/background.js @@ -8,6 +8,7 @@ chrome.runtime.onConnect.addListener(function(devToolsPort) { buffer.forEach(function(msg) { devToolsPort.postMessage(msg); }); + buffer = []; devToolsPort.onMessage.addListener(function(inspectedTabId) { chrome.tabs.onUpdated.addListener(function(tabId, changeInfo) {