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

Refactor hooking code #18

Merged
merged 1 commit into from
Mar 27, 2023
Merged

Refactor hooking code #18

merged 1 commit into from
Mar 27, 2023

Conversation

ff14wed
Copy link
Owner

@ff14wed ff14wed commented Mar 27, 2023

Previously the static detours were stored in Arc<OnceCell<>. However this is not necessary since they already have a static lifetime and are Send + Sync. Therefore we can reference them globally instead of what was previously done.

Previously the static detours were stored in Arc<OnceCell<>. However
this is not necessary since they already have a static lifetime and
are Send + Sync. Therefore we can reference them globally instead of
what was previously done.
@ff14wed ff14wed merged commit 390e3a1 into main Mar 27, 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.

1 participant