[vlc-devel] [PATCH] libvlc_vlm_release : release events stuff
remi at remlab.net
Mon Jun 22 15:18:45 CEST 2009
On Tue, 16 Jun 2009 09:10:50 +0200, Sébastien Escudier
<sebastien-devel at celeos.eu> wrote:
> I don't know if callbacks need to be released before vlc exit ?
Callback registrations MUST be undone, and pending callback invocation MUST
be completed, BEFORE any data that the said callback uses is released.
Callbacks always need to use some data (at least a lock and some private
data), otherwise they are most certainly useless. Therefore callbacks
pretty much ALWAYS need to be unregistered EXPLICITLY and in the right
order: unregister then wait for completion then delete useful data.
More information about the vlc-devel