Skip to content

Conversation

@eerhardt
Copy link
Contributor

RegisterProfiler allows for a null ProfilingSession to be returned - it is even documented with "or returning null to not profile".

Fixing the nullable annotation to indicate that null is an acceptable result of the profilingSessionProvider function.

eerhardt added 2 commits June 28, 2023 16:48
RegisterProfiler allows for a null ProfilingSession to be returned - it is even documented with "or returning null to not profile".

Fixing the nullable annotation to indicate that null is an acceptable result of the profilingSessionProvider function.
Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect - thanks for this, and apologies for the miss when doing NRTs here!

@NickCraver NickCraver merged commit 5e618dc into StackExchange:main Jun 28, 2023
@eerhardt eerhardt deleted the FixNullabilityRegisterProfiler branch June 28, 2023 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants