When Rasterize callback register into VectorAnimationManager, and
visual was destroyed, the callback base memory might not be deleted.
Change-Id: Ia2d09856e989ac29f8c39cd5cabb2af29d1ed80d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
mEventCallbacks.erase(iter);
+ // Delete callback base memory
+ delete callback;
+
if(mEventCallbacks.empty())
{
if(Adaptor::IsAvailable())