docs icon indicating copy to clipboard operation
docs copied to clipboard

The SimpleEventListener example has a race?

Open j03wang opened this issue 6 years ago • 2 comments

The SimpleEventListener example doesn't appear to work for me. It seems like at construction, the OnEventSourceCreated method can get called prior to _intervalSec being assigned, which sets the EventCounterIntervalSec argument to 0 instead of the intended value.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

j03wang avatar Nov 11 '20 22:11 j03wang

@sywhang Can you help with this?

tdykstra avatar Jan 27 '21 18:01 tdykstra

@tdykstra Yes. I will follow up with a PR to address this some time today.

sywhang avatar Jan 27 '21 19:01 sywhang