Commit 0145f96d7304670e756e74f6ff1d3ae54cb376ec
close clients
Ev Bogue committed on 1/12/2017, 5:04:52 PMParent: 4f3279876db7227c1edccc514dc29433d4e77817
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -28,8 +28,9 @@ | ||
28 | 28 … | sbot.query.read({query: [{$filter: { value: { author: me, content: {type: 'post'}}}}], limit: 1, reverse: true}), |
29 | 29 … | pull.drain(function (data) { |
30 | 30 … | post = data |
31 | 31 … | gotPost() |
32 … | + sbot.close() | |
32 | 33 … | }) |
33 | 34 … | ) |
34 | 35 … | }) |
35 | 36 … | function gotPost() { |
@@ -52,8 +53,9 @@ | ||
52 | 53 … | sbot.invite.create(opts, function (err, invite) { |
53 | 54 … | if(err) throw err |
54 | 55 … | lite = invite |
55 | 56 … | gotInvite() |
57 … | + sbot.close() | |
56 | 58 … | }) |
57 | 59 … | }) |
58 | 60 … | function gotInvite() { |
59 | 61 … | res.end( |
Built with git-ssb-web