fix possible crash when changing colors
if chan osc threads >= 0
This commit is contained in:
parent
ca5cf58d00
commit
7fdc826f83
2 changed files with 16 additions and 8 deletions
|
|
@ -5437,10 +5437,12 @@ void FurnaceGUI::applyUISettings(bool updateFonts) {
|
|||
}
|
||||
}
|
||||
|
||||
// chan osc work pool
|
||||
if (chanOscWorkPool!=NULL) {
|
||||
delete chanOscWorkPool;
|
||||
chanOscWorkPool=NULL;
|
||||
if (updateFonts) {
|
||||
// chan osc work pool
|
||||
if (chanOscWorkPool!=NULL) {
|
||||
delete chanOscWorkPool;
|
||||
chanOscWorkPool=NULL;
|
||||
}
|
||||
}
|
||||
|
||||
for (int i=0; i<64; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue