[Tizen][Temporary Fix] Restore to call InputMethodContext::Finalize() accepted/tizen/unified/20180828.062312 submit/tizen/20180827.051227
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 27 Aug 2018 04:26:27 +0000 (13:26 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Mon, 27 Aug 2018 04:26:31 +0000 (13:26 +0900)
This reverts commit 73c1e1038cb52b700aba63f4a9cee0ece98032f6.

Change-Id: I8682fc48c6344410d8bbfbbbb5410897037e8dfe

dali-csharp-binder/src/input-method-context.cpp

index ddcd31c..abb2e3f 100755 (executable)
@@ -460,14 +460,12 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_InputMethodContext_CallbackData(v
 }
 
 SWIGEXPORT void SWIGSTDCALL CSharp_Dali_InputMethodContext_Finalize(void * jarg1) {
-  //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
-  //Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
+  Dali::InputMethodContext *arg1 = (Dali::InputMethodContext *) 0 ;
 
-  //arg1 = (Dali::InputMethodContext *)jarg1;
+  arg1 = (Dali::InputMethodContext *)jarg1;
   {
     try {
-      //This is not necessary in tizen5.0, but because of backwards compatibility, the method is maintained but the body is deleted.
-      //(arg1)->Finalize();
+      (arg1)->Finalize();
     } catch (std::out_of_range& e) {
       {
         SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;