1
0
Fork 0
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:
ed 2020-07-06 11:19:33 +01:00
parent a95ec7bc8f
commit e19b1bde71

View file

@ -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)
{