Added null validation into channel_layer and removed leftover

This commit is contained in:
KiritoDv
2023-10-18 20:51:09 -06:00
parent a4ad9fe71a
commit a683fe0bac
2 changed files with 5 additions and 666 deletions
-666
View File
File diff suppressed because it is too large Load Diff
@@ -49,6 +49,11 @@ void seq_channel_layer_process_script(struct SequenceChannelLayer *layer) {
#endif
sameSound = TRUE;
if(layer == NULL) {
return;
}
if ((*layer).enabled == FALSE) {
return;
}