Browse Source

remove unnecessary check

Abhinav 1 year ago
parent
commit
580758b0c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/photos/src/services/clipService.ts

+ 1 - 1
apps/photos/src/services/clipService.ts

@@ -54,7 +54,7 @@ class ClipServiceImpl {
 
 
     private logoutHandler = async () => {
     private logoutHandler = async () => {
         if (this.embeddingExtractionInProgress) {
         if (this.embeddingExtractionInProgress) {
-            this.embeddingExtractionInProgress?.abort();
+            this.embeddingExtractionInProgress.abort();
         }
         }
         if (this.onFileUploadedHandler) {
         if (this.onFileUploadedHandler) {
             await this.removeOnFileUploadListener();
             await this.removeOnFileUploadListener();