1.1 --- a/gmyth/src/gmyth_monitor_handler.c Wed Jan 24 19:02:13 2007 +0000
1.2 +++ b/gmyth/src/gmyth_monitor_handler.c Wed Feb 07 18:29:38 2007 +0000
1.3 @@ -164,16 +164,17 @@
1.4
1.5 if ( monitor->monitor_th != NULL )
1.6 {
1.7 - g_thread_pool_free( monitor->monitor_th, TRUE, FALSE );
1.8 + g_thread_pool_free( monitor->monitor_th, TRUE, TRUE );
1.9 //g_thread_exit( monitor->monitor_th );
1.10 - if ( monitor->monitor_th != NULL )
1.11 - g_object_unref( monitor->monitor_th );
1.12 + /*if ( monitor->monitor_th != NULL )
1.13 + g_object_unref( monitor->monitor_th );*/
1.14 monitor->monitor_th = NULL;
1.15 }
1.16
1.17 if ( monitor->event_sock != NULL )
1.18 {
1.19 - g_object_unref( monitor->event_sock );
1.20 + /* g_object_unref( monitor->event_sock ); */
1.21 + gmyth_socket_close_connection( monitor->event_sock );
1.22 monitor->event_sock = NULL;
1.23 }
1.24