forked from microsoft/cppwinrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementAdjust existing featuresAdjust existing featureshelp wantedExtra attention is neededExtra attention is needed
Description
winrt::uninit_apartment does not adhere to RAII, which makes it very prone to misuse and exception unsafe. There is no need to deprecate winrt::init_apartment for now, as not uninitializing is usually not an issue, and it appears in numerous examples.
Add a class with a destructor instead.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementAdjust existing featuresAdjust existing featureshelp wantedExtra attention is neededExtra attention is needed