X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fadaptor-framework%2Fscene-holder-impl.cpp;h=7162a1c715d5b2317faf0c715e602307730ef13f;hb=208b9a9444d6651fef696072eeb45277c8a46040;hp=2440b355d0f1bbbff334aaf600e05da9403dcd24;hpb=03558d4c9f6795e5db5ce3035d5248395dd356cb;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/integration-api/adaptor-framework/scene-holder-impl.cpp b/dali/integration-api/adaptor-framework/scene-holder-impl.cpp index 2440b35..7162a1c 100644 --- a/dali/integration-api/adaptor-framework/scene-holder-impl.cpp +++ b/dali/integration-api/adaptor-framework/scene-holder-impl.cpp @@ -133,6 +133,8 @@ SceneHolder::~SceneHolder() mAdaptor->RemoveObserver( *mLifeCycleObserver.get() ); mAdaptor->RemoveWindow( this ); + mAdaptor->DeleteSurface( *mSurface.get() ); + mAdaptor = nullptr; }