terminate() method

Close the thread.

Syntax

public void terminate ()

Usage

Invoked when the application exits.