Refactor the stream sender

This commit is contained in:
NI
2019-09-19 15:04:20 +08:00
parent 2736a3db9d
commit 2d47cd004c
6 changed files with 309 additions and 123 deletions

View File

@@ -139,7 +139,7 @@ export class Streams {
}
try {
this.sender.clear();
this.sender.close();
} catch (e) {
process.env.NODE_ENV === "development" && console.trace(e);
}