Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDKTV-34608: Fix for SIG-ILL crash due to missing unregister call for power event #5938

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Miracast/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ All notable changes to this RDK Service will be documented in this file.
Changes in CHANGELOG should be updated when commits are added to the main or release branches. There should be one CHANGELOG entry per JIRA Ticket. This is not enforced on sprint branches since there could be multiple changes for the same JIRA ticket during development.

For more details, refer to versioning section under Main README.
## [1.0.11] - 2024-12-12
### Fixed
- Fixed the SIGILL crash while failed to unregister the Power Event.

## [1.0.10] - 2024-08-27
### Fixed
- Increase scan interval to 5 sec and added RFC support.
Expand Down
5 changes: 2 additions & 3 deletions Miracast/MiracastService/MiracastService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ using namespace std;

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 10
#define API_VERSION_NUMBER_PATCH 11

#define SERVER_DETAILS "127.0.0.1:9998"
#define SYSTEM_CALLSIGN "org.rdk.System"
Expand Down Expand Up @@ -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
Expand Down
Loading