Skip to content
  • Simon Marlow's avatar
    fix occasional failure of numsparks001 test. During shutdown we · f6f04307
    Simon Marlow authored
    discard all the sparks from each Capability, but we were forgetting to
    account for the discarded sparks in the stats, leading to a failure of
    the assertion that tests the spark invariant.
    
    I've moved the discarding of sparks to just before the GC, to avoid
    race conditions, and counted the discarded sparks as GC'd.
    f6f04307