From b19b996f2c5bc91e38146827e2d10b095f9ef599 Mon Sep 17 00:00:00 2001 From: Ben Kuper Date: Fri, 17 Jan 2025 20:58:33 +0100 Subject: [PATCH] even safer --- Source/Module/modules/sequence/commands/SequenceCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Module/modules/sequence/commands/SequenceCommand.cpp b/Source/Module/modules/sequence/commands/SequenceCommand.cpp index 15f36c72..98fcc193 100644 --- a/Source/Module/modules/sequence/commands/SequenceCommand.cpp +++ b/Source/Module/modules/sequence/commands/SequenceCommand.cpp @@ -105,7 +105,7 @@ void SequenceCommand::triggerInternal(int multiplexIndex) if (actionType != STOP_ALL_SEQUENCES && actionType != PLAY_MULTI_SEQUENCES && actionType != PLAY_SEQUENCE_AT) { - if (getLinkedTargetContainerAs(target, multiplexIndex) == nullptr) return; + if (target == nullptr || getLinkedTargetContainerAs(target, multiplexIndex) == nullptr) return; //if (target->targetContainer.wasObjectDeleted()) return; }