diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index bc2426487..7359faf16 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -3578,8 +3578,10 @@ bool FurnaceGUI::loop() { e->synchronized([this]() { for (int i=0; igetTotalChannelCount(); i++) { DivDispatchOscBuffer* buf=e->getOscBuffer(i); - buf->needle=0; - buf->readNeedle=0; + if (buf!=NULL) { + buf->needle=0; + buf->readNeedle=0; + } } }); }