File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -821,6 +821,7 @@ namespace WPEFramework
821
821
{
822
822
if (_powerManagerPlugin)
823
823
{
824
+ _powerManagerPlugin->Unregister (_pwrMgrNotification.baseInterface <Exchange::IPowerManager::IModeChangedNotification>());
824
825
_powerManagerPlugin.Reset ();
825
826
}
826
827
_registeredEventHandlers = false ;
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ namespace WPEFramework
150
150
}
151
151
152
152
_connectionId = 0 ;
153
+ _service->Unregister (&_notification);
153
154
_service->Release ();
154
155
_service = nullptr ;
155
156
LOGINFO (" HdmiCecSource plugin is deactivated. Successfully deactivated HdmiCecSource Plugin" );
Original file line number Diff line number Diff line change @@ -385,6 +385,7 @@ namespace WPEFramework
385
385
386
386
if (_powerManagerPlugin)
387
387
{
388
+ _powerManagerPlugin->Unregister (_pwrMgrNotification.baseInterface <Exchange::IPowerManager::IModeChangedNotification>());
388
389
_powerManagerPlugin.Reset ();
389
390
}
390
391
_registeredEventHandlers = false ;
You can’t perform that action at this time.
0 commit comments