Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions TUnit.Engine/Services/EventReceiverOrchestrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace TUnit.Engine.Services;

internal sealed class EventReceiverOrchestrator : IDisposable
internal sealed class EventReceiverOrchestrator
{
private readonly EventReceiverRegistry _registry = new();
private readonly TUnitFrameworkLogger _logger;
Expand Down Expand Up @@ -547,8 +547,4 @@ public void InitializeTestCounts(IEnumerable<TestContext> allTestContexts)
}
}

public void Dispose()
{
// No longer need to dispose _registry - it no longer uses ReaderWriterLockSlim
}
}
2 changes: 1 addition & 1 deletion TUnit.Engine/Services/PropertyInjector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public async Task InjectPropertiesIntoArgumentsAsync(
}

private async Task InjectPropertiesRecursiveAsync(
object instance,
object? instance,
ConcurrentDictionary<string, object?> objectBag,
MethodMetadata? methodMetadata,
TestContextEvents events,
Expand Down
Loading