Stops the handle events thread.
Declaration Syntax
Parameters
- bWait (Boolean)
- If true, wait for the thread to exit before returning.
Remarks
Calling this method when the thread is not running will have no affect.
Note:
If the thread is running, this method must be called before the application exits.
Failure to do so will cause the application to hang.