Skip to content

Conversation

@combobulator
Copy link

@combobulator combobulator commented Aug 2, 2023

In the current commit, the PersistentListener._initializationSuccessful flag is only set when the PersistentListener initializes itself during invocation. The PersistentListener._initializationComplete flag is set properly during the initialization call. Both of these flags must be set for the invocation to execute.

This leads to a failure to invocate, with no error message, if ExtEvent.Initialize() is called before ExtEvent.Invoke(); the contained PersistentListeners will have the _initializationComplete flag set, but _initializationSuccessful not set, in spite of no issues.

This PR sets the _initializationSuccessful flag within PersistentListener.Initialize() so pre-initialized ExtEvents will fire properly.

…to allow manually Initialized PersistentListeners to Invoke
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.

1 participant