Skip to content

Commit 51a75d1

Browse files
committed
make sure that we don't create di objects before we need them
1 parent ab175a0 commit 51a75d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tracer/test/Datadog.Trace.Debugger.IntegrationTests/DynamicInstrumentationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ private async Task RunTest([CallerMemberName] string testName = null)
8484

8585
memoryAssertions.NoObjectsExist<SnapshotSink>();
8686
memoryAssertions.NoObjectsExist<LineProbeResolver>();
87+
memoryAssertions.NoObjectsExist<DynamicInstrumentation>();
88+
memoryAssertions.NoObjectsExist<Pdb.DatadogMetadataReader>();
8789
}
8890
finally
8991
{

0 commit comments

Comments
 (0)