소스 검색

chore: remove reset onUnmounted

Co-authored-by: Tino Koch <17991193+Tinoooo@users.noreply.github.com>
Alvaro Saburido 2 달 전
부모
커밋
1124d8d289
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 5
      src/composables/useCamera/index.ts

+ 0 - 5
src/composables/useCamera/index.ts

@@ -135,11 +135,6 @@ export const useCameraManager = ({ sizes }: UseCameraParams): UseCameraReturn =>
     }
   })
 
-  // Clean up on unmount
-  onUnmounted(() => {
-    cameras.value = []
-    activeCameraUuid.value = null
-  })
 
   return {
     activeCamera,