Просмотр исходного кода

chore: remove reset onUnmounted

Co-authored-by: Tino Koch <17991193+Tinoooo@users.noreply.github.com>
Alvaro Saburido 2 месяцев назад
Родитель
Сommit
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,