diff --git a/wm/src/window_impl.cpp b/wm/src/window_impl.cpp index 0b25c802a3486f62580582f4dd1223b2dca87851..7be9ec0426db585f820fdc25ec11ee1314f37565 100644 --- a/wm/src/window_impl.cpp +++ b/wm/src/window_impl.cpp @@ -582,7 +582,8 @@ WMError WindowImpl::Destroy() WLOGFI("[Client] Window %{public}d Destroy", property_->GetWindowId()); - // FixMe: Remove "NotifyBeforeDestroy()" because of ACE bug, add when fixed + NotifyBeforeDestroy(); + WMError ret = SingletonContainer::Get().DestroyWindow(property_->GetWindowId()); windowMap_.erase(GetWindowName()); if (subWindowMap_.count(property_->GetParentId()) > 0) { // remove from subWindowMap_