This ended up not being a race but a genuine memory leak - which is what this assert is there to catch :)
This ended up not being a race but a genuine memory leak - which is what this assert is there to catch :)