Thread:requestTermination

From GiderosMobile

Available since: 2018.10
Class: Thread

Description

Sets a flag to terminate thread.

thread:requestTermination()

Checks whether the thread needs terminated in the thread or it will terminate automatically after a number of Lua instructions.