Skip to content

Commit

Permalink
Always pass release callback.
Browse files Browse the repository at this point in the history
Closes #20.
  • Loading branch information
RubenVerborgh committed Nov 7, 2018
1 parent 43e7f16 commit 2eedc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/eye.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ var eyePrototype = Eye.prototype = {
return;

resources.forEach(function (resource) {
self.resourceCache.release(resource);
self.resourceCache.release(resource, function () {});
});

if (callback) {
Expand Down

0 comments on commit 2eedc59

Please sign in to comment.