We're updating the issue view to help you get more done. 

CollectionMap Causes a Threadleak when parallel=true

Description

If we run this code, at the end, there will be 100 threads still alive that won't day. (They are "parked", but still there)

ocal.mycollection = {};
for (local.i = 0; local.i < 1000; local.i++) {
local.mycollection[local.i] = local.i;
}
dump(collectionMap(
local.myCollection,
function(v) { return arguments.v * 2; },
true,
100
));

We have a potential fix. I hope to have a pull request soon.

Environment

Status

Assignee

Michael Offner

Reporter

Colby Litnak

Fix versions

Affects versions

4.5.3.015

Priority

New