From 0f6b3d5994d88d86e832a037131ca7c977361da1 Mon Sep 17 00:00:00 2001 From: qianlf Date: Fri, 25 Feb 2022 11:49:26 +0800 Subject: [PATCH] =?UTF-8?q?ACE=E6=8E=A5=E5=8F=A3bug=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=EF=BC=8C=E9=87=8D=E6=96=B0=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qianlf Change-Id: Id62531c364068306195658cd8dc33d9449a5da87 --- wm/src/window_impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wm/src/window_impl.cpp b/wm/src/window_impl.cpp index 0b25c802a3..7be9ec0426 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_ -- Gitee