mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
there's no vlc_thread_create(p_helper)
This commit is contained in:
parent
d0c9363fb0
commit
f2e48db135
@ -368,16 +368,21 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void system_End( libvlc_int_t *p_this )
|
void system_End( libvlc_int_t *p_this )
|
||||||
{
|
{
|
||||||
|
HWND ipcwindow;
|
||||||
if( p_this && vlc_global() )
|
if( p_this && vlc_global() )
|
||||||
{
|
{
|
||||||
free( vlc_global()->psz_vlcpath );
|
free( vlc_global()->psz_vlcpath );
|
||||||
vlc_global()->psz_vlcpath = NULL;
|
vlc_global()->psz_vlcpath = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( ipcwindow = FindWindow( 0, L"VLC ipc "VERSION ) )
|
||||||
|
{
|
||||||
|
SendMessage( ipcwindow, WM_QUIT, 0, 0 );
|
||||||
|
}
|
||||||
|
|
||||||
if (p_helper && p_helper->p_parent == VLC_OBJECT(p_this) )
|
if (p_helper && p_helper->p_parent == VLC_OBJECT(p_this) )
|
||||||
{
|
{
|
||||||
/* FIXME: thread-safety... */
|
/* FIXME: thread-safety... */
|
||||||
SendMessage( NULL, WM_QUIT, 0, 0 );
|
|
||||||
vlc_thread_join (p_helper);
|
|
||||||
vlc_object_detach (p_helper);
|
vlc_object_detach (p_helper);
|
||||||
vlc_object_release (p_helper);
|
vlc_object_release (p_helper);
|
||||||
p_helper = NULL;
|
p_helper = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user