TimerDestroy Function

Action

Destroys a timer.

Syntax

TimerDestroy (hTimer)
Variable Description
hTimer A handle to the timer to destroy. HTIMER.

Notes

TimerDestroy destroys the specified timer. Call TimerDestroy when you are through using a timer so that Silk Test Classic does not maintain the timer in memory unnecessarily.

When a script exits, Silk Test Classic automatically destroys all timers that were not destroyed.

Example

HTIMER TotalTimer
TotalTimer = TimerCreate () // make a timer handle
// ...
TimerDestroy (TotalTimer)