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

Delete critical section on DLL_PROCESS_DETACH #1058

Merged
merged 1 commit into from
May 22, 2021

Conversation

cmb69
Copy link
Contributor

@cmb69 cmb69 commented May 14, 2021

To explicitly release all allocated resources on shutdown on Windows,
we delete the critical section on DLL_PROCESS_DETACH. We do not
employ any locking to avoid any potential deadlock. In case of normal
DLL unloading there is no need to, and in case of forced unloading all
bets are likely off anyway.

To explicitly release all allocated resources on shutdown on Windows,
we delete the critical section on `DLL_PROCESS_DETACH`.  We do not
employ any locking to avoid any potential deadlock.  In case of normal
DLL unloading there is no need to, and in case of forced unloading all
bets are likely off anyway.
@cmb69 cmb69 mentioned this pull request May 14, 2021
@jedisct1 jedisct1 merged commit 8b66d2b into jedisct1:master May 22, 2021
@cmb69
Copy link
Contributor Author

cmb69 commented May 22, 2021

Thank you!

@cmb69 cmb69 deleted the cmb/dllmain branch May 22, 2021 12:00
Repository owner locked and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants