From aec9206cec43feb5fa6dd54bee81c1dd185bf2e6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 14 Aug 2016 12:33:59 +0200 Subject: compat/com: no need to initialize OLE at all times --- compat/win32-com.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compat/win32-com.cpp b/compat/win32-com.cpp index dd7c24a8..a037b3ba 100644 --- a/compat/win32-com.cpp +++ b/compat/win32-com.cpp @@ -43,6 +43,7 @@ bool OPENTRACK_COMPAT_EXPORT init_com_threading(com_type t) return false; } +#if 0 if (t == com_apartment) { ret = OleInitialize(nullptr); @@ -52,6 +53,7 @@ bool OPENTRACK_COMPAT_EXPORT init_com_threading(com_type t) return false; } +#endif initialized = t; -- cgit v1.2.3