[Tizen][Temporary Fix] Restore to call InputMethodContext::Finalize() accepted/tizen/unified/20181204.063752 submit/tizen/20181203.071134
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 3 Dec 2018 06:22:02 +0000 (15:22 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 3 Dec 2018 06:22:09 +0000 (15:22 +0900)
Change-Id: I339dfa9bbaae2494eaf35d50923bfe97fcd0bd71

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 ;