Skip to content

tus.Upload.terminate does not remove file from upload.findPreviousUploads() #803

@tsalsa919

Description

@tsalsa919

Question
How to remove files from the upload.findPreviousUploads() queue?

Setup details
Please provide following details, if applicable to your situation:
tus-js-client: version 3

How to clean up the queue for upload.findPreviousUploads()?

If I select a file it adds to the upload.findPreviousUploads()?
I can run

    tus.Upload.terminate(uploadUrl)
    .then(() => {

      console.log('successfully terminated');
    })
    .catch(error => {

      console.error('Termination failed:', error);
    });

and it ran successfully, but afterward upload.findPreviousUploads() still returns the same files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions