releaseFibersThen

fun releaseFibersThen(then: () -> Unit)

Enter a safe point, then for each captured fiber, un-capture it, and unpause it if it was paused for the debugger. After all fibers have been released, invoke the callback, still within the safe point.