mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
GUI: fix crash
This commit is contained in:
parent
fa51bf1e5d
commit
bc4191dbe4
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue