# Race is finished but one can still trigger event inside of it

**URL:** <https://forums.unrealengine.com/t/race-is-finished-but-one-can-still-trigger-event-inside-of-it/2089238>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [October 26, 2024, 2:24pm UTC](https://forums.unrealengine.com/t/race-is-finished-but-one-can-still-trigger-event-inside-of-it/2089238 "2024-10-26T14:24:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [October 28, 2024, 2:38am UTC](https://forums.unrealengine.com/t/race-is-finished-but-one-can-still-trigger-event-inside-of-it/2089238/3 "2024-10-28T02:38:33Z")

</div>

Could be related

> [@\[CRITICAL\] Defer does not execute after cancellation through race](https://forums.unrealengine.com/t/critical-defer-does-not-execute-after-cancellation-through-race/2077174):
>
> Summary Here’s the repro using { /Fortnite.com/Devices } using { /Verse.org/Simulation } test\_device := class(creative\_device): StartFail()\<suspends\>:void= Print("StartFail") defer: Print("StartFail Ended (from suspending scope)") # Never prints race: Sleep(Inf) Sleep(Inf) Sleep(Inf) StartSucceed()\<suspends\>:void= Print("StartSucceed") defer: Print("StartSucceed Ended (from suspe…

---

_[View the full topic](https://forums.unrealengine.com/t/race-is-finished-but-one-can-still-trigger-event-inside-of-it/2089238)._
