Skip to content

Avoid recursive Start menu initialization (#1675)#1678

Merged
ge0rdi merged 1 commit intomasterfrom
fix-recursive-init
Aug 24, 2023
Merged

Avoid recursive Start menu initialization (#1675)#1678
ge0rdi merged 1 commit intomasterfrom
fix-recursive-init

Conversation

@ge0rdi
Copy link
Member

@ge0rdi ge0rdi commented Aug 24, 2023

It may happen that during InitStartMenuDLL execution some component posts a message that is then intercepted by (still active) HookInject that will call InitStartMenuDLL again (and everything will repeat).

To prevent such endless recursion during initialization, we will make sure that InitStartMenuDLL will be executed just once.

It may happen that during `InitStartMenuDLL` execution some component
posts a message that is then intercepted by (still active) `HookInject`
that will call `InitStartMenuDLL` again (and everything will repeat).

To prevent such endless recursion during initialization, we will make
sure that `InitStartMenuDLL` will be executed just once.
@AppVeyorBot
Copy link

@ge0rdi ge0rdi mentioned this pull request Aug 24, 2023
@ge0rdi ge0rdi merged commit aac2938 into master Aug 24, 2023
@ge0rdi ge0rdi deleted the fix-recursive-init branch August 24, 2023 18:55
@ge0rdi ge0rdi mentioned this pull request Sep 2, 2023
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