10 lines
180 B
JavaScript
10 lines
180 B
JavaScript
|
|
exports.destroyQueues = function () {
|
|
[this.q, this.q1, this.q2].forEach(function (q) {
|
|
if (!q) return;
|
|
setTimeout(function () {
|
|
q.destroy();
|
|
}, 15);
|
|
});
|
|
};
|