瀏覽代碼

remove unnecessary check

Abhinav 1 年之前
父節點
當前提交
580758b0c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 () => {
         if (this.embeddingExtractionInProgress) {
-            this.embeddingExtractionInProgress?.abort();
+            this.embeddingExtractionInProgress.abort();
         }
         if (this.onFileUploadedHandler) {
             await this.removeOnFileUploadListener();