diff --git a/src/waveform/widgets/allshader/waveformwidget.cpp b/src/waveform/widgets/allshader/waveformwidget.cpp index f8b88ed927a..8c54b9f861a 100644 --- a/src/waveform/widgets/allshader/waveformwidget.cpp +++ b/src/waveform/widgets/allshader/waveformwidget.cpp @@ -95,6 +95,7 @@ WaveformWidget::WaveformWidget(QWidget* parent, WaveformWidget::~WaveformWidget() { makeCurrentIfNeeded(); m_rendererStack.clear(); + // destruction of nodes needs to happen within the opengl context m_pEngine.reset(); doneCurrent(); }