File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,6 @@ namespace WPEFramework
104
104
HdmiCecSource* HdmiCecSource::_instance = nullptr ;
105
105
static int libcecInitStatus = 0 ;
106
106
107
- HdmiCecSource::HdmiCecSource ()
108
- : PluginHost::JSONRPC(),
109
- {
110
- LOGWARN (" ctor" );
111
- }
112
-
113
107
HdmiCecSource::~HdmiCecSource ()
114
108
{
115
109
LOGWARN (" dtor" );
@@ -166,7 +160,7 @@ namespace WPEFramework
166
160
167
161
bool enabled = false ;
168
162
bool ret = false ;
169
- HdmiCecSourceLL_hdmiCecSource ->GetEnabled (&enabled,&ret);
163
+ HdmiCecSource::_hdmiCecSource ->GetEnabled (&enabled,&ret);
170
164
171
165
if (ret && enabled)
172
166
{
@@ -176,8 +170,6 @@ namespace WPEFramework
176
170
isDeviceActiveSource = false ;
177
171
HdmiCecSource::_notification.OnActiveSourceStatusUpdated ();
178
172
179
- HdmiCecSource::_hdmiCecSource->DeinitializeIARM ();
180
-
181
173
HdmiCecSource::_instance = nullptr ;
182
174
}
183
175
Original file line number Diff line number Diff line change @@ -157,11 +157,11 @@ namespace WPEFramework {
157
157
: PluginHost::IPlugin()
158
158
, PluginHost::JSONRPC()
159
159
, _connectionId(0 )
160
- , _authService (nullptr )
160
+ , _hdmiCecSource (nullptr )
161
161
, _notification(this )
162
162
, _service(nullptr )
163
163
{
164
-
164
+
165
165
}
166
166
virtual ~HdmiCecSource ();
167
167
Original file line number Diff line number Diff line change @@ -403,6 +403,8 @@ namespace WPEFramework
403
403
_powerManagerPlugin.Reset ();
404
404
}
405
405
_registeredEventHandlers = false ;
406
+
407
+ DeinitializeIARM ();
406
408
}
407
409
408
410
HdmiCecSourceImplimentation::Configure (PluginHost::IShell* service)
You can’t perform that action at this time.
0 commit comments