How to abort a gltf load request

I want abort a gltf load request,but it seem that gltfLoader load function didn’t return the xmlhttprequest

three.js/jsm/loaders/GLTFLoader.js

... load line 165
		loader.load( url, function ( data ) {

			try {

				scope.parse( data, resourcePath, function ( gltf ) {

					onLoad( gltf );

					scope.manager.itemEnd( url );

				}, _onError );

			} catch ( e ) {

				_onError( e );

			}

		}, onProgress, _onError );

What you are looking for is currently not uniformly supported. The following issue tracks this enhancement:

1 Like