Skip to content

Commit

Permalink
Use OleInitialize instead of CoInitialize in RemoteVstPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
DomClark committed Aug 14, 2018
1 parent 993803d commit 01cf0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/vst_base/RemoteVstPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ int main( int _argc, char * * _argv )
return -1;
}

CoInitialize(nullptr);
OleInitialize(nullptr);

#ifdef LMMS_BUILD_WIN32
#ifndef __WINPTHREADS_VERSION
Expand Down Expand Up @@ -2178,7 +2178,7 @@ int main( int _argc, char * * _argv )

delete __plugin;

CoUninitialize();
OleUninitialize();

#ifdef LMMS_BUILD_WIN32
#ifndef __WINPTHREADS_VERSION
Expand Down

0 comments on commit 01cf0ee

Please sign in to comment.