Commit ea543551 authored by Marc Gravell's avatar Marc Gravell

seeing a lot of "MuxerIsCollected" failures on CI; it genuinely *is* collected...

seeing a lot of "MuxerIsCollected" failures on CI; it genuinely *is* collected in all local scenarios, so I'm suspicious that this is timing/load related; try to make it less twitchy
parent fbed6635
...@@ -39,6 +39,9 @@ public void MuxerIsCollected() ...@@ -39,6 +39,9 @@ public void MuxerIsCollected()
//#endif //#endif
var wr = new WeakReference(muxer); var wr = new WeakReference(muxer);
muxer = null; muxer = null;
ForceGC();
Thread.Sleep(2000); // GC is twitchy
ForceGC(); ForceGC();
// should be collectable // should be collectable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment