FRunnables Continue When Editor Stopped

EricSambell
Fri, 11 Jul 2025 14:27:50 +0000
Programming & Scripting

I was able to replicate the first part of this excellent wiki: Multithreading With FRunnable | Unreal Engine Community Wiki. It works great, the only issue is that when I stop the editor the thread continues to run (the test log messages continue to show up). Of course since the reference to the FRunnable instance is lost when the editor stops, there’s no way to kill that thread without restarting the editor. Is there a way to either prevent this behavior or catch the editor stop to kill the thread?

Thanks,

Eric

1 post - 1 participant