How should a single page clear the loading GLTFLoader? It will crash the page

When page a uses GLTFLoader to load glb (24mb), quickly switch to page b. At this time, GLTFLoader is still loading, and then I switch back and forth, and it will crash on the mobile terminal.
I tried to use a singleton to cache the return value of GLTFLoader so that it would not call GLTFLoader every time, but it would still crash.