Skip to content

Commit

Permalink
fix: remove unsupported and unused runtime.onsuspend
Browse files Browse the repository at this point in the history
Signed-off-by: Alan D. Tse <alandtse@gmail.com>
  • Loading branch information
alandtse committed Oct 1, 2019
1 parent 0ef0ab7 commit 2c9644c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/scripts/background.js
Expand Up @@ -611,7 +611,4 @@ chrome.browserAction.onClicked.addListener(handleClick)
chrome.tabs.onActivated.addListener(handleActivate)
chrome.windows.onFocusChanged.addListener(handleFocusChanged)
chrome.storage.onChanged.addListener(handleStorageChange)
chrome.runtime.onSuspend.addListener(function () {
console.log('Unloading.')
})
chrome.tabs.onUpdated.addListener(handleUpdated)

0 comments on commit 2c9644c

Please sign in to comment.