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(zenoh_runtime): disable atexit on windows #981

Merged

Conversation

YuanYuYuan
Copy link
Contributor

As discussed today, we found that the previous is still problematic. Let's disable the atexit cleanup for the time being.

@YuanYuYuan
Copy link
Contributor Author

The test on zenoh-c seems good. https://github.com/YuanYuYuan/zenoh-c/actions/runs/8846318062/job/24291948644.

@fuzzypixelz can you help review this PR?

Copy link
Member

@fuzzypixelz fuzzypixelz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We shouldn't spawn threads in the atexit handler on Windows. Until we figure out how implement it correctly, this'll have to do :)

@Mallets Mallets merged commit ad58af6 into eclipse-zenoh:main Apr 26, 2024
11 checks passed
@Mallets Mallets deleted the fix/disable-atexit-on-windows branch April 26, 2024 11:55
Mallets added a commit that referenced this pull request Apr 30, 2024
* fix(zenoh_runtime): disable atexit on windows (#981)

* Revert "fix(zenoh-runtime): zenoh-c DLL crash in `libc::atexit` handler (#972)"

This reverts commit 274166d.

* ci: disable atexit cleanup on Windows

* fix: Deny publishing of zenoh-ext-examples (#984)

* Fix runtime start calling (#985)

* Fix invalid JSON in admin space for static plugins (#988)

* Fix admin space: plugins __path__ was invalid JSON (#990)

* fix(test): sporadic failures of downsampling test on Windows (#995)

* fix: set the minimal sleep interval to 17ms on windows

* fixup! fix: set the minimal sleep interval to 17ms on windows

* fixup! fix: set the minimal sleep interval to 17ms on windows

* Acl fix (#993)

* ACL does not intercept messages with no key_expr

* Update DEFAULT_CONFIG.json5

---------

Co-authored-by: Yuyuan Yuan <az6980522@gmail.com>
Co-authored-by: Mahmoud Mazouz <mazouz.mahmoud@outlook.com>
Co-authored-by: Julien Enoch <julien.e@zettascale.tech>
Co-authored-by: OlivierHecart <olivier@zettascale.tech>
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.

None yet

3 participants