diff --git a/Uploader.m b/Uploader.m index afc0d644..9463c81d 100644 --- a/Uploader.m +++ b/Uploader.m @@ -109,6 +109,7 @@ - (void)uploadFiles:(RNFSUploadParams*)params return self->_params.completeCallback(str, response); }]; [_task resume]; + [session finishTasksAndInvalidate]; if (_params.beginCallback) { _params.beginCallback(); }