[Live-devel] handleClosure

Ross Finlayson finlayson at live.com
Tue Apr 19 11:57:07 PDT 2005


>I have a problem when the source  device become ureadable.
>In my file m4vsource (that inherits from FramedSource) I call
>handleClosure(this) but the objet is not destroyed.
>How can I free any reference (owned by the library) to this object?
>Is the "handleClosure" the only way to close the comunication by server
>side?

"FramedSource::handleClosure" doesn't delete anything.  Instead, its 
purpose is to tell the downstream object that the flow of data has ended.

To actually reclaim a 'media' object (i.e., a subclass of "Medium"), call 
"Medium::close()" on it.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list