Skip to content

Commit

Permalink
Fixing plugin editor not showing after closing and re-opening
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Sep 15, 2023
1 parent 2f9d159 commit d7afda6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/wrapper/clap-juce-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1881,12 +1881,8 @@ class ClapJuceWrapper : public clap::helpers::Plugin<

void guiDestroy() noexcept override
{
#if JUCE_VERSION >= 0x060008
editorWrapper->editorHostContext.reset();
#endif
processor->editorBeingDeleted(editorWrapper->editor.get());
editorWrapper.reset(nullptr);
guiParentAttached = false;
editorWrapper->editor.reset(nullptr);
}

bool guiSetParent(const clap_window *window) noexcept override
Expand Down

0 comments on commit d7afda6

Please sign in to comment.