Function com::runtime::deinit_apartment[][src]

pub fn deinit_apartment()
Expand description

Uninitialize a COM apartment thread.

This uses CoUninitialize

This should only be called if the user already initialized the thread as a specific apartment type (usually started through init_apartment). https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-couninitialize