code: public void resetThreadContextLoader() {
          if (LoaderUtils.isContextLoaderAvailable() && isContextLoaderSaved) {
              LoaderUtils.setContextClassLoader(savedContextLoader);
              savedContextLoader = null;
              isContextLoaderSaved = false;
          }
      }
docs: Resets the current thread's context loader to its original value.