4021028ce8a137d603aa65b77881fc475627e34d,imutils/video/pivideostream.py,PiVideoStream,start,#PiVideoStream#,22
Before Change
def start(self):
// start the thread to read frames from the video stream
Thread(target=self.update, args=()).start()
return self
def update(self):
// keep looping infinitely until the thread is stopped
After Change
def start(self):
// start the thread to read frames from the video stream
t = Thread(target=self.update, args=())
t.daemon = True
t.start()
return self
def update(self):
// keep looping infinitely until the thread is stopped
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: jrosebr1/imutils
Commit Name: 4021028ce8a137d603aa65b77881fc475627e34d
Time: 2016-01-09
Author: jrosebr1@umbc.edu
File Name: imutils/video/pivideostream.py
Class Name: PiVideoStream
Method Name: start
Project Name: hyperdashio/hyperdash-sdk-py
Commit Name: 0581eb8af29af3666687ec66e92ec80c8240546c
Time: 2017-09-13
Author: andrew.schreiber1@gmail.com
File Name: hyperdash/experiment.py
Class Name: Experiment
Method Name: __init__
Project Name: jrosebr1/imutils
Commit Name: 4021028ce8a137d603aa65b77881fc475627e34d
Time: 2016-01-09
Author: jrosebr1@umbc.edu
File Name: imutils/video/webcamvideostream.py
Class Name: WebcamVideoStream
Method Name: start