Thordin

Results 7 comments of Thordin

No I did not but I think it would call the `__del__` method on that class upon exit right? The only time I closed the script was by pressing ctrl+c...

I think I figured out the issue or at least 1 source of a leak. I put a print statement in `__del__` here. https://github.com/ra1nty/DXcam/blob/cd1c36783d206027075309d7a9be89ef5099d10a/dxcam/dxcam.py#L242 It gets called if you don't...

Not sure why this happens but this short little script causes an error when I release it. import dxcam import time dx = dxcam.create() dx.start() time.sleep(2) f = dx.get_latest_frame() dx.release()...

> Try call `.stop` before `.release`: > > ``` > import dxcam > import time > > dx = dxcam.create() > dx.start() > time.sleep(2) > f = dx.get_latest_frame() > dx.stop()...

Just confirmed the memory leak. It happened again. I tried connecting to the computer with remote desktop (parsec) it threw an error complaining about the video encoder not working. So...

Hello I have been editing and re-running my script multiple times. I withdraw my claim about a memory leak from just leaving it running, there's maybe just the one caused...

I had this issue but I just put a time.sleep(0.1) after create and grab doesn't return a black image anymore. camera = dxcam.create() time.sleep(0.1) frame = camera.grab()