destroy abstract method

void destroy()

Destroys the thread and cleans up any resources.

This method should be implemented by subclasses to perform any cleanup necessary when the thread is no longer needed.

Implementation

void destroy();