Clear DataControl response listener when application is terminated
authorHyunbin Lee <hyunbin.lee@samsung.com>
Sat, 13 Apr 2013 08:33:42 +0000 (17:33 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Sat, 13 Apr 2013 08:35:43 +0000 (17:35 +0900)
Change-Id: I7be735f87a914c41fa7b24acb313df186d86e3cd
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
project/src/MapDataControlForm.cpp
project/src/SqlDataControlForm.cpp

index e3da1ad..a943afb 100644 (file)
@@ -97,6 +97,7 @@ result
 MapDataControlForm::OnTerminating(void)
 {
        delete __pPopup;
+       __pMapDataControl->SetMapDataControlResponseListener(null);
        return E_SUCCESS;
 }
 
index 0ecf54c..33e39c4 100644 (file)
@@ -99,6 +99,7 @@ result
 SqlDataControlForm::OnTerminating(void)
 {
        delete __pPopup;
+       __pSqlDataControl->SetSqlDataControlResponseListener(null);
        return E_SUCCESS;
 }