BogaudioModules

BogaudioModules for VCV Rack
Log | Files | Refs | README | LICENSE

commit 95df46aed71e15004143541c3442b8f515a7ceb5
parent d1de8431996594c0f66086523c6b2dd0cb9c91d2
Author: Matt Demanett <matt@demanett.net>
Date:   Tue, 18 Aug 2020 05:09:49 -0400

Maybe fix crash when meta modules (8Face) manipulate the module state from audio threads. #136

Diffstat:
Msrc/module.cpp | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/module.cpp b/src/module.cpp @@ -211,8 +211,7 @@ void BGModuleWidget::setPanel(Vec size, std::string slug, bool skinnable) { void BGModuleWidget::updatePanel() { if (_panel) { - removeChild(_panel); - delete _panel; + _panel->requestDelete(); _panel = NULL; }