onRunSettled method
Run-settle hook (PowerAssertionHold.perRun): releases once the run has fully settled (post-run compaction included).
Implementation
Future<void> onRunSettled() async {
if (hold != PowerAssertionHold.perRun) return;
await release();
}