More work on aqhome-react.
- added some units - added some types
This commit is contained in:
@@ -43,13 +43,19 @@
|
||||
|
||||
int AqHomeReact_Fini(AQHOME_REACT *aqh)
|
||||
{
|
||||
if (aqh) {
|
||||
GWEN_MsgEndpoint_Disconnect(aqh->brokerEndpoint);
|
||||
GWEN_MsgEndpoint_free(aqh->brokerEndpoint);
|
||||
aqh->brokerEndpoint=NULL;
|
||||
|
||||
GWEN_MsgEndpoint_Disconnect(aqh->brokerEndpoint);
|
||||
GWEN_MsgEndpoint_free(aqh->brokerEndpoint);
|
||||
aqh->brokerEndpoint=NULL;
|
||||
AQHREACT_UnitNet_List_Clear(aqh->unitNetList);
|
||||
AQHREACT_Unit_List_Clear(aqh->unitList);
|
||||
aqh->timerUnit=NULL;
|
||||
aqh->varChangeUnit=NULL;
|
||||
|
||||
if (aqh->pidFile)
|
||||
remove(aqh->pidFile);
|
||||
if (aqh->pidFile)
|
||||
remove(aqh->pidFile);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user