innovencelabs / byteshare

Large file sharing app [Community Edition]
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Cancel API call on close button click #169

Open ambujraj opened 7 months ago

ambujraj commented 7 months ago

Describe the bug On closing the drawer, still the upload API is being closed.

To Reproduce Steps to reproduce the behavior:

  1. Go to ByteShare.io
  2. Click on Send
  3. Upload file
  4. Click close before the upload finish
  5. See the API still being called

Expected behavior The API call should cancel on close button click.