From f2923e95f67534f2ce1736998309398244cd45f9 Mon Sep 17 00:00:00 2001 From: Nomango <569629550@qq.com> Date: Tue, 10 Oct 2017 01:32:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A8=E4=BD=9C=E7=9A=84?= =?UTF-8?q?=E9=87=8A=E6=94=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Easy2D/Easy2D.vcxproj | 2 +- Easy2D/Tool/ActionManager.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Easy2D/Easy2D.vcxproj b/Easy2D/Easy2D.vcxproj index b9c06cd1..ce91ac53 100644 --- a/Easy2D/Easy2D.vcxproj +++ b/Easy2D/Easy2D.vcxproj @@ -287,7 +287,7 @@ true WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - None + EditAndContinue Console diff --git a/Easy2D/Tool/ActionManager.cpp b/Easy2D/Tool/ActionManager.cpp index 4e671b8e..7e1ef398 100644 --- a/Easy2D/Tool/ActionManager.cpp +++ b/Easy2D/Tool/ActionManager.cpp @@ -18,6 +18,7 @@ void ActionManager::__exec() if (action->isEnding()) { // 动作已经结束 + action->autoRelease(); action->release(); s_vActions.erase(s_vActions.begin() + i); }