Skip to content

Ensure isEnabled = false won't start worker loop#2436

Merged
Mpdreamz merged 3 commits intomainfrom
feature/isenabled-payloadsenderv2
Sep 11, 2024
Merged

Ensure isEnabled = false won't start worker loop#2436
Mpdreamz merged 3 commits intomainfrom
feature/isenabled-payloadsenderv2

Conversation

@Mpdreamz
Copy link
Copy Markdown
Member

@Mpdreamz Mpdreamz commented Sep 9, 2024

Inside PayloadSenderV2, we also now early exit when events get queued.

Removed early exit from constructor, allow readonly fields to be initialized
so that when we start adding nullable annotations not all of them have to be nullable

Inside PayloadSenderV2, we also now early exit when events get queued.

Removed early exit from constructor, allow readonly fields to be initialized
so that when we start adding nullable annotations not all of them have to be nullable
@Mpdreamz Mpdreamz linked an issue Sep 9, 2024 that may be closed by this pull request
stevejgordon
stevejgordon previously approved these changes Sep 9, 2024
Copy link
Copy Markdown
Contributor

@stevejgordon stevejgordon left a comment

Choose a reason for hiding this comment

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

One nit, but otherwise, this LGTM.

Copy link
Copy Markdown
Contributor

@stevejgordon stevejgordon left a comment

Choose a reason for hiding this comment

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

LGTM

@Mpdreamz Mpdreamz merged commit 369b4a8 into main Sep 11, 2024
@Mpdreamz Mpdreamz deleted the feature/isenabled-payloadsenderv2 branch September 11, 2024 07:57
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.

[BUG] NullReferenceException in PayloadSenderV2 if APM is disabled

2 participants