Skip to content
This repository was archived by the owner on Apr 18, 2022. It is now read-only.

Fix throttling to free when the callback it's done#51

Open
Adrien10 wants to merge 1 commit intoserilog-archive:masterfrom
Adrien10:AdrienDev
Open

Fix throttling to free when the callback it's done#51
Adrien10 wants to merge 1 commit intoserilog-archive:masterfrom
Adrien10:AdrienDev

Conversation

@Adrien10
Copy link
Copy Markdown

@Adrien10 Adrien10 commented Feb 13, 2020

When ThrottleAction it's call Interlocked.CompareExchange() change the _throttling to be BUSY, but never it's FREE after that.

So when the callback it's called and finish i put the _throttling to be FREE.

@Adrien10 Adrien10 requested a review from troylar February 13, 2020 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant