fix(p2p): closing on end reverted (it was ok by default)
This commit is contained in:
parent
cbab33039a
commit
f23d45996b
@ -1174,8 +1174,6 @@ if(config.spaceQuota)
|
||||
|
||||
this.stop = (callback) => {
|
||||
console.log('spider closing...')
|
||||
tcpServer.close(() => {
|
||||
console.log('p2p server closed')
|
||||
torrentClient.destroy(() => {
|
||||
sphinx.end(() => spider.close(() => {
|
||||
mysqlSingle.destroy()
|
||||
@ -1183,7 +1181,6 @@ this.stop = (callback) => {
|
||||
callback()
|
||||
}))
|
||||
})
|
||||
})
|
||||
}
|
||||
return this
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user