[Release] wrt-plugins-common_0.3.85
[platform/framework/web/wrt-plugins-common.git] / src / plugin-loading / plugin_logic.cpp
index 08d056a..aef6950 100644 (file)
@@ -433,7 +433,10 @@ void PluginLogic::Impl::dispatchJavaScriptEvent(JSGlobalContextRef context,
 
 unsigned int PluginLogic::Impl::windowHandle() const
 {
-    PLUGIN_LOGIC_SANITY_CHECK
+    if (!s_sanityCheck)
+    {
+        LogError("Object is not available. Wrong flow occured");
+    }
     return m_windowHandle;
 }