From f2d74fbc860b7b7459bbe9189e767e0c5c2a4daf Mon Sep 17 00:00:00 2001 From: Jinhao Date: Fri, 15 May 2020 03:17:43 +0800 Subject: [PATCH] small fix --- source/gui/animation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/gui/animation.cpp b/source/gui/animation.cpp index c57984d1..c118ee51 100644 --- a/source/gui/animation.cpp +++ b/source/gui/animation.cpp @@ -677,6 +677,8 @@ namespace nana thr = nullptr; } + p->thr_variable = nullptr; + threads_.erase(i); if (thr && thr->thread && thr->thread->joinable()) thr->thread->join();