1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Call OleUninitialize() after DoDragDrop() returns to fix a hang in some cases

This commit is contained in:
ed 2019-01-21 16:23:13 +00:00
parent 8e63662163
commit 3b16efce0b

View file

@ -263,6 +263,8 @@ namespace DragAndDropHelpers
data->Release();
source->Release();
OleUninitialize();
if (completionCallback != nullptr)
MessageManager::callAsync (completionCallback);