avoid multiple running drive tasks for the same object
This commit is contained in:
@ -279,6 +279,8 @@ int StartDevice(pExeList self, char *name, pObjectDescriptor pDes,
|
||||
return 0;
|
||||
}
|
||||
|
||||
EndDriveTask(pData); /* BEGIN experimental: stop pending drive task for this objects immediately */
|
||||
|
||||
SetDevexecStatus(self,DEVDONE);
|
||||
if(self->waitID < 0 && level == RUNDRIVE){
|
||||
self->waitID = GetTaskGroupID(pServ->pTasker);
|
||||
|
Reference in New Issue
Block a user