Assorted bug fixes
- In network.c and asynnet.c code was added to close the socket when a connect failed. Otherwise the socket would leak and the process runs out of file descriptors. - Multicountserc now forcefully handles the counting status. Before I had the status flickering between counting and nobeam because the HM has no way to diagnose nobeam - In motorsec.c the pDrivInt->iErrorCount was not reset to 0 properly. Leading to death. - Removed the stack smashing test flag for the time being.
This commit is contained in:
@@ -235,9 +235,11 @@ static int DriveTaskFunc(void *data)
|
||||
DevexecLog("STOP",taskData->name);
|
||||
if(status == HWIdle || status == OKOK){
|
||||
ExeInterest(pServ->pExecutor,taskData->name, "finished");
|
||||
|
||||
} else {
|
||||
ExeInterest(pServ->pExecutor,taskData->name, "finished with problem");
|
||||
}
|
||||
SetStatus(eEager);
|
||||
return 0;
|
||||
}
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user