X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=main.cpp;h=55548bae91e832c02450a2196bf9778cea39453f;hp=95142707f572b2cb9d4e8ab7d54d95911d8c9cac;hb=0f8e26eb85f86b7b543243f8e98938eeec909e31;hpb=433df75e414444dc9c9f32dbef264531105e47b7 diff --git a/main.cpp b/main.cpp index 9514270..55548ba 100644 --- a/main.cpp +++ b/main.cpp @@ -406,6 +406,7 @@ start: if (stats_thread != NULL) { stats_thread->stop(); + delete stats_thread; } for (size_t i = 0; i < acceptors.size(); ++i) { acceptors[i]->stop();