Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds toDevice capability to matrix transport #2174

Merged
merged 9 commits into from
Oct 8, 2020
4 changes: 2 additions & 2 deletions raiden-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ function shutdownRaiden(this: Cli): void {
if (this.raiden.started) {
this.log.info('Stopping raiden...');
this.raiden.stop();
// force-exit at most 5s after stopping raiden
unrefTimeout(setTimeout(() => process.exit(0), 5000));
// force-exit at most 10s after stopping raiden
unrefTimeout(setTimeout(() => process.exit(0), 10000));
} else {
process.exit(1);
}
Expand Down
8 changes: 7 additions & 1 deletion raiden-ts/src/transport/epics/webrtc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,13 @@ function listenDataChannel(
);
}),
),
).pipe(finalize(() => (dataChannel.close(), connection.close()))),
).pipe(
finalize(() => {
dataChannel.close();
// FIXME: https://github.com/node-webrtc/node-webrtc/issues/636
// connection.close();
}),
),
weilbith marked this conversation as resolved.
Show resolved Hide resolved
),
);
}
Expand Down