-
Notifications
You must be signed in to change notification settings - Fork 10
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
Figure out how to handle (un-)initialization of the Runtime #18
Comments
To statically prevent calling any WinRT functions without having initialized the runtime correctly (or after unintialization) is quite hard, if not impossible with current Rust. It would require adding a lifetime parameter to |
In #25 we panic now with an appropriate message if |
Closing in favor of #62, where the discussion has happened more recently. |
In other words, provide wrappers for
RoInitialize
andRoUninitialize
and somehow ensure that the runtime is initialized before making other calls.The text was updated successfully, but these errors were encountered: