Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #630 from bookchin/master
Browse files Browse the repository at this point in the history
[HOTFIX] Null reference - undefined context
  • Loading branch information
bookchin committed Jan 19, 2017
2 parents 0bf62e2 + c95c0ec commit 8fe1af5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lib/storage/manager.js
Expand Up @@ -207,13 +207,11 @@ StorageManager.prototype._checkCapacity = function() {
* @private
*/
StorageManager.prototype._initShardReaper = function() {
var self = this;

if (this._options.disableReaper) {
return false;
}

setTimeout(self.clean.bind(this, this._initShardReaper),
setTimeout(this.clean.bind(this, this._initShardReaper.bind(this)),
constants.CLEAN_INTERVAL);
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "storj-lib",
"version": "6.0.14",
"version": "6.0.15",
"description": "implementation of the storj protocol for node.js and the browser",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 8fe1af5

Please sign in to comment.