Store failed connections in peerProgress too.

nb/hide-http
Neeraj Baid 11 years ago
parent 8679143a34
commit d2386356e5

@ -61,6 +61,9 @@ export default alt.createStore(class UploadStore {
})
conn.on('close', () => {
if (this.peerProgress[peerID] < 1) {
this.peerProgress[peerID] = -1
}
this.setState({ peerProgress: this.peerProgress })
})
}

Loading…
Cancel
Save