Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
models/repos: fix accidental removal of all dats on quit. closes #298
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Mar 16, 2017
1 parent 5750ba2 commit 0d724a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function createModel () {

function closeAll () {
multidat.list().forEach(function (dat) {
multidat.close(dat.key, noop)
dat.close(noop)
})
}

Expand Down

0 comments on commit 0d724a6

Please sign in to comment.