Similar to the overloaded use for 'setup', phCaptureInteface uses 'cleanup' to call the 'close' method of the phCaptureInterface object. This will get called with the thread closes down properly through signaling done using the phThread inherited 'stop' method.
If one is using a phCaptureInterface derived object ( phImageCapture, V4LCapture, VfwSource, etc. ) with phSystem, the call to 'stop' is handled by phSystem's shutdown methods.
Reimplemented from phCaptureInterface. |