This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
Revert previous commit and instead call ComponentHelpers::releaseAllCachedImageResources() from Component::removeFromDesktop()
tags/2021-05-28
ed
6 years ago
parent
af098a1985
commit
5c03d13f0d
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
+2
-0
modules/juce_gui_basics/components/juce_Component.cpp
+ 0
- 1
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp
View File
@@ -874,7 +874,6 @@ private:
if (component != nullptr)
{
#if JUCE_WINDOWS
component->setVisible (false);
component->removeFromDesktop();
#else
if (macHostWindow != nullptr)
+ 2
- 0
modules/juce_gui_basics/components/juce_Component.cpp
View File
@@ -700,6 +700,8 @@ void Component::removeFromDesktop()
if (flags.hasHeavyweightPeerFlag)
{
ComponentHelpers::releaseAllCachedImageResources (*this);
auto* peer = ComponentPeer::getPeerFor (this);
jassert (peer != nullptr);
Write
Preview
Loading…
Cancel
Save