[bitcoin/bitcoin] CoInitialize(nullptr) in mt app (#13979)

https://github.com/bitcoin/bitcoin/blob/63f8b0128b2aac3b25c6ec4d2f5bda213033162a/src/qt/guiutil.cpp#L548
it’s (at least)a bit risky outside of single-thread apps.
«`c++
CoInitializeEx(NULL,COINIT_MULTITHREADED);
«`
could be used instead. Only way i know to use it is to make separate thread with init-wait-uninit

Добавить комментарий