From 68b71af08680bf09eff2beaf972cf08105c23e51 Mon Sep 17 00:00:00 2001 From: Vej Date: Fri, 20 Apr 2018 00:20:47 +0800 Subject: [PATCH] Fix Issue #3 - Device not released after closed --- blink1/blink1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blink1/blink1.py b/blink1/blink1.py index 54e3b9f..59a152d 100644 --- a/blink1/blink1.py +++ b/blink1/blink1.py @@ -81,6 +81,7 @@ def __init__(self, serial_number=None, gamma=None, white_point=None): self.dev = self.find(serial_number) def close(self): + self.dev.close() self.dev = None @staticmethod