method

terminate!

v1_8_7_72 - Show latest stable - Class: Thread
terminate!()
public

Terminates thr without calling ensure clauses and schedules another thread to be run, returning the terminated Thread. If this is the main thread, or the last thread, exits the process.

See Thread#exit for the safer version.