Skip to content

Add a warning when clearing messages from a MessageReceiver.#1368

Open
andriyDev wants to merge 1 commit into
cBournhonesque:mainfrom
andriyDev:warn-cleared-messages
Open

Add a warning when clearing messages from a MessageReceiver.#1368
andriyDev wants to merge 1 commit into
cBournhonesque:mainfrom
andriyDev:warn-cleared-messages

Conversation

@andriyDev
Copy link
Copy Markdown

I wasted several hours today because I was trying to read messages in PreUpdate, which I guess was happening after the clear, resulting in my systems completely missing these messages.

At least with a warning, I could have known my systems were running incorrectly.

@cBournhonesque
Copy link
Copy Markdown
Owner

Have you tested the PR? Do you get any extra logs?

I'm wondering now why I even needed these 'clear' systems. I guess it is to prevent infinite accumulation in the buffers in case the messages were not drained.

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