Esempio n. 1
0
void AddressThreadData::DriverAbort()
{
  if (abort && !threadAlive) {
    // FIXME: Do whatever is necessary to abort what has already been imported!
  }
  else
    abort = PR_TRUE;
  DriverDelete();
}
Esempio n. 2
0
void ImportThreadData::DriverAbort()
{
  if (abort && !threadAlive && destRoot) {
    if (ownsDestRoot) {
      destRoot->RecursiveDelete(true, nullptr);
    }
    else {
      // FIXME: just delete the stuff we created?
    }
  }
  else
    abort = true;
  DriverDelete();
}