Skip to content

Commit

Permalink
[_post_coinit\unknwn.py] Import _CoUninitialize
Browse files Browse the repository at this point in the history
  • Loading branch information
moi15moi committed Jan 25, 2025
1 parent ca7664f commit 3785040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions comtypes/_post_coinit/unknwn.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from ctypes import HRESULT, POINTER, byref, c_ulong, c_void_p
from typing import TYPE_CHECKING, ClassVar, List, Optional, Type, TypeVar

from comtypes import GUID, _ole32_nohresult, com_interface_registry
from comtypes import GUID, _CoUninitialize, com_interface_registry
from comtypes._memberspec import STDMETHOD, ComMemberGenerator, DispMemberGenerator
from comtypes._post_coinit import _cominterface_meta_patcher as _meta_patch
from comtypes._post_coinit.instancemethod import instancemethod
Expand All @@ -17,7 +17,7 @@


def _shutdown(
func=_ole32_nohresult.CoUninitialize,
func=_CoUninitialize,
_debug=logger.debug,
_exc_clear=getattr(sys, "exc_clear", lambda: None),
):
Expand Down

0 comments on commit 3785040

Please sign in to comment.