Skip to content

Commit

Permalink
camera.py removed GC
Browse files Browse the repository at this point in the history
manifest.json update v1.5.7.3

Signed-off-by: SCA075 <[email protected]>
  • Loading branch information
sca075 committed Feb 7, 2024
1 parent 959eb5a commit d3924be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions custom_components/valetudo_vacuum_camera/camera.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Camera Version 1.5.7.2 (threading implemented 100%)
Camera Version 1.5.7.3 (threading implemented 100%)
Valetudo Hypfer and rand256 Firmwares Vacuums maps.
From PI4 up to all other Home Assistant supported platforms.
"""
Expand All @@ -12,7 +12,6 @@
import json
import logging
import os
import gc
from typing import Optional

from PIL import Image
Expand Down Expand Up @@ -274,8 +273,6 @@ def __init__(self, hass, device_info):
except (ValueError, IndexError, UnboundLocalError) as e:
_LOGGER.error("Error while populating colors: %s", e)
self.processor = CameraProcessor(self._shared)
gc.set_debug(True)
gc.DEBUG_LEAK.conjugate()

async def async_added_to_hass(self) -> None:
"""Handle entity added toHome Assistant."""
Expand Down Expand Up @@ -309,7 +306,6 @@ def turn_on(self):
self._should_poll = True

def turn_off(self):
gc.collect(2)
self._should_poll = False

@property
Expand Down
2 changes: 1 addition & 1 deletion custom_components/valetudo_vacuum_camera/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/sca075/valetudo_vacuum_camera/issues",
"requirements": ["pillow", "numpy", "svgwrite"],
"version": "v1.5.7.2"
"version": "v1.5.7.3"
}

0 comments on commit d3924be

Please sign in to comment.