mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3: Don't remove content wrapper component from desktop before destroying on Linux
This commit is contained in:
parent
a95ec7bc8f
commit
e19b1bde71
1 changed files with 5 additions and 6 deletions
|
|
@ -1180,14 +1180,13 @@ private:
|
|||
{
|
||||
if (component != nullptr)
|
||||
{
|
||||
#if JUCE_WINDOWS || JUCE_LINUX
|
||||
#if JUCE_WINDOWS
|
||||
component->removeFromDesktop();
|
||||
#if JUCE_LINUX
|
||||
#elif JUCE_LINUX
|
||||
fdCallbackMap.clear();
|
||||
|
||||
if (auto* runLoop = getHostRunLoop())
|
||||
runLoop->unregisterEventHandler (this);
|
||||
#endif
|
||||
#else
|
||||
if (macHostWindow != nullptr)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue