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:
parent
086b21be1b
commit
54ea55325f
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ public:
|
|||
{
|
||||
uiaWrapper->disconnectProvider (provider);
|
||||
|
||||
if (providerCount == 0)
|
||||
if (providerCount == 0 && JUCEApplicationBase::isStandaloneApp())
|
||||
uiaWrapper->disconnectAllProviders();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue