reset FileReceiver on cancel. fixes #751
This commit is contained in:
parent
755cc4f5ec
commit
ce79d7b745
@ -179,6 +179,7 @@ export default function(state, emitter) {
|
||||
} catch (err) {
|
||||
if (err.message === '0') {
|
||||
// download cancelled
|
||||
state.transfer.reset();
|
||||
return render();
|
||||
}
|
||||
console.error(err);
|
||||
|
Loading…
Reference in New Issue
Block a user