From e8cfb50eeb90892614b5936b9bc67f9fe8856ce8 Mon Sep 17 00:00:00 2001 From: yuvaramachandran_gurusamy Date: Mon, 2 Dec 2024 09:03:22 +0000 Subject: [PATCH] RDKTV-34608: Fix for SIG-ILL crash due to missing unregister call for power event Signed-off-by: yuvaramachandran_gurusamy --- Miracast/MiracastService/MiracastService.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Miracast/MiracastService/MiracastService.cpp b/Miracast/MiracastService/MiracastService.cpp index 653e538e6..c9fdaaab5 100644 --- a/Miracast/MiracastService/MiracastService.cpp +++ b/Miracast/MiracastService/MiracastService.cpp @@ -276,12 +276,11 @@ namespace WPEFramework if (!m_isServiceInitialized) { MiracastError ret_code = MIRACAST_OK; - - InitializeIARM(); m_miracast_ctrler_obj = MiracastController::getInstance(ret_code, this,p2p_ctrl_iface); if (nullptr != m_miracast_ctrler_obj) { + InitializeIARM(); m_CurrentService = service; getThunderPlugins(); // subscribe for event