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

Uninit Windows Runtime #9

Open
vbrandl opened this issue Apr 14, 2019 · 0 comments
Open

Uninit Windows Runtime #9

vbrandl opened this issue Apr 14, 2019 · 0 comments
Labels

Comments

@vbrandl
Copy link
Contributor

vbrandl commented Apr 14, 2019

The winrt doc for uninit states

Unitializes the Windows Runtime. This must not be called as long as any Windows Runtime object is still alive.

(https://docs.rs/winrt/*/x86_64-pc-windows-msvc/winrt/struct.RuntimeContext.html#method.uninit)

From my understanding, this might cause issues, if multiple threads try to send notifications. Once the first thread is finished, uninit is called, while other threads might still require the runtime. I cannot test if there are any actual implications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants