-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some plugins don't initialise it themselves, expecting it already to be done for them, and so are liable to hang without it (e.g. TX16Wx). Co-authored-by: Hyunjin Song <[email protected]> Co-authored-by: Dominic Clark <[email protected]>
- Loading branch information
1 parent
0ad8527
commit 4c7c68f
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2061,6 +2061,8 @@ int main( int _argc, char * * _argv ) | |
return -1; | ||
} | ||
|
||
OleInitialize(nullptr); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
DomClark
Author
Member
|
||
|
||
#ifdef LMMS_BUILD_WIN32 | ||
#ifndef __WINPTHREADS_VERSION | ||
// (non-portable) initialization of statically linked pthread library | ||
|
@@ -2176,6 +2178,7 @@ int main( int _argc, char * * _argv ) | |
|
||
delete __plugin; | ||
|
||
OleUninitialize(); | ||
|
||
#ifdef LMMS_BUILD_WIN32 | ||
#ifndef __WINPTHREADS_VERSION | ||
|
shouldn't this go inside LMMS_BUILD_WIN32 ?