Discard all unprocessed events and destroy this object. The behavior is undefined unless the scheduler is stopped.
Discard all unprocessed events and destroy this object. The behavior is undefined unless the scheduler is stopped.