resolve merge conflict
This commit is contained in:
commit
590e249500
1 file changed
+1
@@ -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