Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
call clear clearCache with the correct number of arguments
Browse files Browse the repository at this point in the history
auditors @bbondy @bsclifton @mrose17
related #8659
  • 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

1 comment on commit 33e3fca

@bsclifton
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

Please sign in to comment.