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); }