On Monday, 10 June 2019 at 19:48:18 UTC, Steven Schveighoffer
wrote:
On 6/9/19 1:25 AM, Amex wrote:
On Saturday, 8 June 2019 at 20:44:13 UTC, Steven Schveighoffer
wrote:
Try GC.addRef on the X reference, and see if it helps.
This is during shutdown so I imagine simply turning off the GC
should work fine? That way it prevents all cases rather than
having to add a bunch of specific cases each time they crop up.
I'm not sure if you can shut off the final collection. All you
can do is disable collections during allocations.
-Steve
So far it seems to be working. It may prevent a collection at the
right time that causes the problem... it all may be coincidence.