Skip to content

Commit

Permalink
call clear clearCache with the correct number of arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed May 4, 2017
1 parent 0f9c97c commit 33e3fca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,9 @@ module.exports.clearStorageData = () => {
module.exports.clearCache = () => {
for (let partition in registeredSessions) {
let ses = registeredSessions[partition]
setImmediate(ses.clearCache.bind(ses))
setImmediate(() => {
ses.clearCache(() => {})
})
}
}

Expand Down

0 comments on commit 33e3fca

Please sign in to comment.