Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix double-sync #1

Merged
merged 1 commit into from
Oct 5, 2023
Merged

fix double-sync #1

merged 1 commit into from
Oct 5, 2023

Conversation

ccutrer
Copy link
Collaborator

@ccutrer ccutrer commented Oct 5, 2023

if the preamble already exists, injecting the preamble would evaluate the gemfile, and recursively load the plugin (and plugins.rb). avoid the problems of that by only adding our hooks in multilock.rb, which will only be required once

if the preamble already exists, injecting the preamble would evaluate
the gemfile, and recursively load the plugin (and plugins.rb).
avoid the problems of that by only adding at_exit hooks in multilock.rb,
which will only be required once. the plugin hook needs to be more
carefully considered, because they'll be reset multiple times -
so avoid the re-entrant load in the first place
@ccutrer ccutrer merged commit 4936800 into main Oct 5, 2023
5 checks passed
@ccutrer ccutrer deleted the fix-double-sync branch October 5, 2023 18:49
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