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

Windows Accessibility: Only call UiaDisconnectAllProviders in

standalone apps

This change fixes a crash in Reaper when closing a plugin window
with ALT + F4.
This commit is contained in:
attila 2022-02-22 20:47:25 +01:00
parent 086b21be1b
commit 54ea55325f

View file

@ -73,7 +73,7 @@ public:
{
uiaWrapper->disconnectProvider (provider);
if (providerCount == 0)
if (providerCount == 0 && JUCEApplicationBase::isStandaloneApp())
uiaWrapper->disconnectAllProviders();
}
}