code: public static void destroyAll() {
          for (Map.Entry<ServerConfig, ProtocolConfig> entry : SERVER_MAP.entrySet()) {
              entry.getValue().destory();
          }
          try {
              ProtocolConfig.destroyAll();
          } catch (Exception e) {
              // NOPMD
          }
      }
docs: Destroy all dubbo resources