git ssb

3+

ev / sdash



Commit aca13bd521d14b347383cfa1f8a098cf71a71412

Close ssb clients

cel committed on 11/22/2016, 4:44:16 AM
Parent: 34b07459e5b69b2cfc44f79d97b19f3432c6191d

Files changed

index.jschanged
index.jsView
@@ -16,8 +16,9 @@
1616 avatar(sbot, me, me, function (err, avatar){
1717 if (err) throw err
1818 name = avatar.name
1919 image = avatar.image
20 + sbot.close()
2021 })
2122 })
2223
2324 http.createServer(function (req, res){
@@ -27,8 +28,9 @@
2728 sbot.query.read({query: [{$filter: { value: { author: me, content: {type: 'post'}}}}], limit: 1, reverse: true}),
2829 pull.drain(function (data) {
2930 post = data
3031 gotPost()
32 + sbot.close()
3133 })
3234 )
3335 })
3436 function gotPost() {

Built with git-ssb-web