diff --git a/lib/libtuxtxt/libtuxtxt.cpp b/lib/libtuxtxt/libtuxtxt.cpp index fac6a0152..06e97de95 100644 --- a/lib/libtuxtxt/libtuxtxt.cpp +++ b/lib/libtuxtxt/libtuxtxt.cpp @@ -31,11 +31,8 @@ int tuxtxt_init() tuxtxt_initialized=1; /* init data */ - memset(&tuxtxt_cache.astCachetable, 0, sizeof(tuxtxt_cache.astCachetable)); - memset(&tuxtxt_cache.astP29, 0, sizeof(tuxtxt_cache.astP29)); - + tuxtxt_stop(); tuxtxt_clear_cache(); - tuxtxt_cache.receiving = 0; tuxtxt_cache.thread_starting = 0; tuxtxt_cache.vtxtpid = -1; tuxtxt_cache.thread_id = 0;