ra1nty / DXcam

A Python high-performance screen capture library for Windows using Desktop Duplication API
MIT License
457 stars 67 forks source link

dxcam.release doesn't cleanup properly #99

Open lovettchris opened 4 weeks ago

lovettchris commented 4 weeks ago

If I call dxcam.release it releases the duplicator, but if I dxcam.create the same dx output it warns me that it is returning the existing instance from the DXFactory self._camera_instances[instance_key] and tries to use it but then the duplicator blows up trying to dereference a None object in self.duplicator.AcquireNextFrame.