message: Added nullptr check in destroyRecursive
diff: @@ -181,11 +181,9 @@ public:
  delete pHalf;
  } else if (pMainThreadResult) {
  UCesiumGltfComponent* pGltf = reinterpret_cast<UCesiumGltfComponent*>(pMainThreadResult);
  - if (pGltf) {
  this->destroyRecursively(pGltf);
  }
  }
  - }
  virtual void* prepareRasterInLoadThread(const CesiumGltf::ImageCesium& image) override {
  return nullptr;
  @@ -283,6 +281,10 @@ private:
  // }
  void destroyRecursively(USceneComponent* pComponent) {
  + if (!pComponent) {
  + return;
  + }
  +
  // FString newName = TEXT("Destroyed_") + pComponent->GetName();
  // pComponent->Rename(*newName);
  @@ -293,7 +295,6 @@ private:
  pComponent->UnregisterComponent();
  }
  - // TODO: occasional nullptr crashes seem to happen here, check if pChild == null ??
  TArray<USceneComponent*> children = pComponent->GetAttachChildren();
  for (USceneComponent* pChild : children) {
  this->destroyRecursively(pChild);
  