GUI: fix crash

This commit is contained in:
tildearrow 2023-04-06 02:20:48 -05:00
parent fa51bf1e5d
commit bc4191dbe4

View file

@ -3578,8 +3578,10 @@ bool FurnaceGUI::loop() {
e->synchronized([this]() {
for (int i=0; i<e->getTotalChannelCount(); i++) {
DivDispatchOscBuffer* buf=e->getOscBuffer(i);
buf->needle=0;
buf->readNeedle=0;
if (buf!=NULL) {
buf->needle=0;
buf->readNeedle=0;
}
}
});
}