timeout_remove

void timeout_remove(int timeout_handler_id);

Destroys a timeout, stopping the callback from being called periodically.

timeout_handler_id is the value returned by timeout_add() .