fix(worker): thread the completion cache through CreateForTesting
ci / nightly-windev (push) Has been skipped
ci / java (push) Failing after 1m57s
ci / windows-x86 (push) Failing after 1m57s
ci / portable (push) Failing after 8m28s

This commit is contained in:
Joseph Doherty
2026-08-09 12:33:20 -04:00
parent 2b468bd8fc
commit 436ef69f07
@@ -116,6 +116,9 @@ public sealed class MxAccessSession : IDisposable
eventSink, eventSink,
handleRegistry ?? new MxAccessHandleRegistry(), handleRegistry ?? new MxAccessHandleRegistry(),
valueCache ?? new MxAccessValueCache(), valueCache ?? new MxAccessValueCache(),
eventSink is IWriteCompletionCacheProvider provider
? provider.WriteCompletionCache
: new MxAccessWriteCompletionCache(),
creationThreadId ?? Environment.CurrentManagedThreadId); creationThreadId ?? Environment.CurrentManagedThreadId);
} }