Skip to content

Commit ffc6237

Browse files
author
Anthony Oliver
committed
Fixed issue where camera timeout and caused glib malloc issue
1 parent 8b01144 commit ffc6237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SimpleCV/Camera.py

+1
Original file line numberDiff line numberDiff line change
@@ -3209,6 +3209,7 @@ def getImage(self, timeout = 5000):
32093209
except Exception, e:
32103210
print "Exception waiting for frame:", e
32113211
print "Time taken:",time.time() - st
3212+
self.frame = None
32123213
raise(e)
32133214
img = self.unbuffer()
32143215
self.frame = None

0 commit comments

Comments
 (0)