| Index: background.js |
| =================================================================== |
| --- a/background.js |
| +++ b/background.js |
| @@ -562,19 +562,16 @@ ext.onMessage.addListener(function (msg, |
| if (sender.page) |
| { |
| sender.page.sendMessage(msg.payload, sendResponse); |
| // Return true to indicate that we want to call |
| // sendResponse asynchronously |
| return true; |
| } |
| break; |
| - default: |
|
Sebastian Noack
2014/12/19 17:57:53
We discussed that earlier on IRC. So you made sure
Wladimir Palant
2014/12/19 19:38:42
Not more leaks than what we usually have (see "get
Sebastian Noack
2014/12/19 19:52:00
Mind filing that issue? :)
Wladimir Palant
2014/12/19 20:10:51
Sure: https://issues.adblockplus.org/ticket/1724
|
| - sendResponse({}); |
| - break; |
| } |
| }); |
| // update icon when page changes location |
| ext.pages.onLoading.addListener(function(page) |
| { |
| page.sendMessage({type: "clickhide-deactivate"}); |
| refreshIconAndContextMenu(page); |