code: public void destroy() {
          if (!destroyed) {
              return;
          }
          destroyed = true;
          for (Engine[] methodEngines : engines) {
              for (Engine engine : methodEngines) {
                  try {
                      engine.destroy();
                  } catch (Throwable e) {
                      logger.error("", e);
                  }
              }
          }
      }
docs: 销毁该资源