lucoiso / UEAzSpeech

This plugin integrates Azure Speech Cognitive Services in Unreal Engine.
https://forums.unrealengine.com/t/free-azspeech-plugin-async-text-to-voice-and-voice-to-text-with-microsoft-azure/495394
MIT License
178 stars 41 forks source link

Fix bug: Some tasks were not being set as ready to destroy #240

Closed lucoiso closed 7 months ago

lucoiso commented 7 months ago

Changes

  1. Set runnable as unique pointer
  2. Ensure that all tasks are set as ready to destroy
  3. Kill the thread in runnable destruction
  4. Reset the runnable pointer after setting the task as ready to destroy to force the destruction of the thread
lucoiso commented 7 months ago

233