Skip to content

Commit

Permalink
Merge pull request #4 from mh105/main-close-eyetracker
Browse files Browse the repository at this point in the history
BF: add the implementation of _close() so eyetracker can be closed
  • Loading branch information
TEParsons authored Jun 6, 2024
2 parents 713a3f0 + 7256172 commit 268d3eb
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,10 @@ def _getSamplingRate(self):
printExceptionDetailsToStdErr()
return EyeTrackerConstants.EYETRACKER_ERROR

def _close(self):
self.setRecordingState(False)
self.setConnectionState(False)
EyeTrackerDevice._close(self)

# ================= Command Functions ==========================================

Expand Down

0 comments on commit 268d3eb

Please sign in to comment.