Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static bool isEventBlockedByPendingRoom(Runner* runner, Instance* instance, int3

// Executes an already-resolved event handler (see findEventCodeIdAndOwner) and verified codeId >= 0.
static void Runner_executeResolvedEvent(Runner* runner, Instance* instance, int32_t eventType, int32_t eventSubtype, int32_t codeId, int32_t ownerObjectIndex) {
if (isEventBlockedByPendingRoom(runner, instance, eventType))
if (isEventBlockedByPendingRoom(runner, instance, eventType) || runner->shouldExit)
return;

VMContext* vm = runner->vmContext;
Expand Down
Loading