Skip to content

Commit

Permalink
Fix Issue #3 - Device not released after closed
Browse files Browse the repository at this point in the history
  • Loading branch information
vejuhust authored Apr 19, 2018
1 parent 60e89c4 commit 68b71af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blink1/blink1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68b71af

Please sign in to comment.