Variable OnInit.autoDelete

delete it when the script is destroyed

struct OnInit
{
  // ...
  bool autoDelete = true;
  // ...
}