Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop deactivating the service worker #721

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Crypter.Web/Shared/Transfer/DownloadFileTransfer.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ await decryptionResponse
await FileSaverService.SaveFileAsync(decryptionStream, _fileName, _contentType, null);
DecryptionComplete = true;
await decryptionStream.DisposeAsync();
await FileSaverService.DeactivateServiceWorkerAsync();
})
.DoLeftOrNeitherAsync(
HandleDownloadError,
Expand Down
2 changes: 0 additions & 2 deletions Crypter.Web/Shared/Transfer/DownloadMessageTransfer.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ private async Task OnDecryptClickedAsync(MouseEventArgs _)
ErrorMessage = "Download handler not assigned.";
return;
}

await FileSaverService.DeactivateServiceWorkerAsync();

DecryptionInProgress = true;

Expand Down
2 changes: 0 additions & 2 deletions Crypter.Web/Shared/Transfer/UploadFileTransfer.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ protected async Task OnEncryptClicked()

EncryptionInProgress = true;
ErrorMessage = string.Empty;

await FileSaverService.DeactivateServiceWorkerAsync();

await SetProgressMessageAsync("Encrypting file");

Expand Down
2 changes: 0 additions & 2 deletions Crypter.Web/Shared/Transfer/UploadMessageTransfer.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ public partial class UploadMessageTransfer : IDisposable

protected async Task OnEncryptClicked()
{
await FileSaverService.DeactivateServiceWorkerAsync();

EncryptionInProgress = true;
ErrorMessage = string.Empty;

Expand Down
Loading