Commit f0066c53 authored by Daniel Smith's avatar Daniel Smith

Fix remote job cancelling

parent b5a08b04
......@@ -40,7 +40,7 @@ function getIndex(targetArray, jobHash) {
return index;
exports.addJob = addJobToArray;
exports.addJobToArray = addJobToArray;
function addJobToArray(array, job) {
// Job objects aren't hashable, so sets cannot be used.
// Check the given array and avoid pushing duplicate job hashes.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment