|
|
|
@ -60,6 +60,7 @@ var channelExists = function (filepath, cb) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const destroyStream = function (stream) {
|
|
|
|
|
if (!stream) { return; }
|
|
|
|
|
try { stream.close(); } catch (err) { console.error(err); }
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
try { stream.destroy(); } catch (err) { console.error(err); }
|
|
|
|
|