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

Commit a2e9623

Browse files
committed
update hyperdrive to fix error + debug
1 parent 2e01e89 commit a2e9623

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dat.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,13 @@ Dat.prototype.close = function (cb) {
209209
var self = this
210210
self._closed = true
211211

212+
debug('closing network')
212213
closeNet(function (err) {
213214
if (err) debug('Error while closing network:', err.message)
215+
debug('closing closeFileWatch')
214216
closeFileWatch(function () {
215217
// self.archive.unreplicate()
218+
debug('closing archive')
216219
self.archive.close(cb)
217220
})
218221
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"dat-swarm-defaults": "^1.0.0",
2626
"debug": "^4.1.0",
2727
"discovery-swarm": "^5.1.2",
28-
"hyperdrive": "^9.14.0",
28+
"hyperdrive": "^9.14.2",
2929
"hyperdrive-http": "^4.3.3",
3030
"hyperdrive-network-speed": "^2.1.0",
3131
"mirror-folder": "^3.0.0",

0 commit comments

Comments
 (0)