diff --git a/frameworks/components/ui_abstract_scroll.cpp b/frameworks/components/ui_abstract_scroll.cpp index 5737624333658880b7e35d41c3c4c48fe8de55c4..161356b34d1021a250c29b32481b17d0f82e063d 100755 --- a/frameworks/components/ui_abstract_scroll.cpp +++ b/frameworks/components/ui_abstract_scroll.cpp @@ -42,11 +42,6 @@ UIAbstractScroll::UIAbstractScroll() dragParentInstead_ = false; } -UIAbstractScroll::~UIAbstractScroll() -{ - scrollAnimator_.Stop(); -} - void UIAbstractScroll::MoveChildByOffset(int16_t offsetX, int16_t offsetY) { if ((offsetX == 0) && (offsetY == 0)) { diff --git a/frameworks/components/ui_checkbox.cpp b/frameworks/components/ui_checkbox.cpp index a8acf0a43da9e2515fbec7d69afea5eddb76d74b..e4df59a44037dbb8e8ebca69eeea9face0c7dfc4 100755 --- a/frameworks/components/ui_checkbox.cpp +++ b/frameworks/components/ui_checkbox.cpp @@ -50,13 +50,6 @@ UICheckBox::UICheckBox() #endif } -UICheckBox::~UICheckBox() -{ -#if DEFAULT_ANIMATION - checkBoxAnimator_.Stop(); -#endif -} - void UICheckBox::SetState(UICheckBoxState state) { if (state_ == state) { diff --git a/frameworks/components/ui_label.cpp b/frameworks/components/ui_label.cpp index 594dfef7b57a883bc5581c8d073dc36b07eba688..a29d9c784347af6f7cb764a51b724bac5541cff2 100755 --- a/frameworks/components/ui_label.cpp +++ b/frameworks/components/ui_label.cpp @@ -125,7 +125,6 @@ UILabel::UILabel() UILabel::~UILabel() { if (hasAnimator_) { - animator_.animator->Stop(); delete animator_.animator; animator_.animator = nullptr; hasAnimator_ = false; diff --git a/interfaces/kits/components/ui_abstract_scroll.h b/interfaces/kits/components/ui_abstract_scroll.h index 77a496bd3c4f558f86f4f491a6aa55d378575e8f..b1e427394c2232b589bc272d1a00fcae46747751 100755 --- a/interfaces/kits/components/ui_abstract_scroll.h +++ b/interfaces/kits/components/ui_abstract_scroll.h @@ -64,7 +64,7 @@ public: * @since 1.0 * @version 1.0 */ - virtual ~UIAbstractScroll(); + virtual ~UIAbstractScroll() {}; /** * @brief Obtains the view type. diff --git a/interfaces/kits/components/ui_checkbox.h b/interfaces/kits/components/ui_checkbox.h index cda53a8cb7a5d51436d7147b51ddc51f20806e76..6b53579811981bc45b631c85bef82fa3018f1454 100755 --- a/interfaces/kits/components/ui_checkbox.h +++ b/interfaces/kits/components/ui_checkbox.h @@ -84,7 +84,7 @@ public: * @since 1.0 * @version 1.0 */ - virtual ~UICheckBox(); + virtual ~UICheckBox() {}; /** * @brief Represents a listener for changes of a check box.