resolve merge conflict
This commit is contained in:
@@ -60,6 +60,7 @@ var channelExists = function (filepath, cb) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const destroyStream = function (stream) {
|
const destroyStream = function (stream) {
|
||||||
|
if (!stream) { return; }
|
||||||
try { stream.close(); } catch (err) { console.error(err); }
|
try { stream.close(); } catch (err) { console.error(err); }
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
try { stream.destroy(); } catch (err) { console.error(err); }
|
try { stream.destroy(); } catch (err) { console.error(err); }
|
||||||
|
|||||||
Reference in New Issue
Block a user