Browse Source

Windows Accessibility: Only call UiaDisconnectAllProviders in

standalone apps

This change fixes a crash in Reaper when closing a plugin window
with ALT + F4.
v6.1.6
attila 3 years ago
parent
commit
54ea55325f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_gui_basics/native/accessibility/juce_win32_Accessibility.cpp

+ 1
- 1
modules/juce_gui_basics/native/accessibility/juce_win32_Accessibility.cpp View File

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


Loading…
Cancel
Save