// ------------------------------------------------------------------------------------------------
-guint s_routine_id;
+guint s_routine_id = 0;
static gint watchbsp_routine( gpointer data ){
reinterpret_cast<CWatchBSP*>( data )->RoutineProcessing();
return TRUE;
m_xmlInputBuffer = NULL;
}
m_eState = EIdle;
- if ( s_routine_id ) {
+ if ( s_routine_id != 0 ) {
g_source_remove( s_routine_id );
+ s_routine_id = 0;
}
}