  ~SubgraphGuard() {
    // If tht original status was OK, recover the boolean flag.
    if (status_ == kTfLiteOk) {
      *is_subgraph_in_use_ = false;
    }
  }
The product does not properly control the amount of recursion which takes place,  consuming excessive resources, such as allocated memory or the program stack.