audioscrobbler: do not mix vlc_object and vlc_thread APIs...
Also do not needlessly lock after unregistering the callbacks. We have to assume that when var_DelCallback returns, any pending callback invocation has be completed. Otherwise, we would any crash when Close() releases the mutex, destroys it, and the callback then tries to acquire the mutex.
Showing
Please register or sign in to comment