/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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.
else if ( Adaptor::IsAvailable() )
{
// Create instance and register singleton only if the adaptor is available
-
Adaptor& adaptorImpl( Adaptor::GetImplementation( Adaptor::Get() ) );
Any nativeWindow = adaptorImpl.GetNativeWindowHandle();
ImfManagerEcoreWl::~ImfManagerEcoreWl()
{
- DisconnectCallbacks();
+ Finalize();
+ ecore_imf_shutdown();
+}
+void ImfManagerEcoreWl::Finalize()
+{
+ DALI_LOG_INFO( gLogFilter, Debug::General, "ImfManager::Finalize\n" );
+ DisconnectCallbacks();
DeleteContext();
- ecore_imf_shutdown();
}
void ImfManagerEcoreWl::CreateContext( Ecore_Wl_Window *ecoreWlwin )
} // Dali
-#pragma GCC diagnostic pop
\ No newline at end of file
+#pragma GCC diagnostic pop