514dd3f9bb072ff71068aef29642906777832e2a,tflearn/data_flow.py,FeedDictFlow,stop,#FeedDictFlow#,154
Before Change
for i in range(self.num_threads):
self.batch_ids_queue.put(False)
// Launch a Thread to wait for processing scripts to finish
threading.Thread(target=self.wait_for_threads).start()
def reset(self):
reset.
After Change
for i in range(self.num_threads):
self.batch_ids_queue.put(False)
// Launch a Thread to wait for processing scripts to finish
t = threading.Thread(target=self.wait_for_threads)
t.daemon = True
t.start()
def reset(self):
reset.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tflearn/tflearn
Commit Name: 514dd3f9bb072ff71068aef29642906777832e2a
Time: 2016-09-13
Author: aymeric.damien@gmail.com
File Name: tflearn/data_flow.py
Class Name: FeedDictFlow
Method Name: stop
Project Name: streamlit/streamlit
Commit Name: 654a0a9cdc1cbcb2e913f31aaf33a704a3a58e3b
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/Connection.py
Class Name: Connection
Method Name: _connect_to_proxy
Project Name: streamlit/streamlit
Commit Name: 654a0a9cdc1cbcb2e913f31aaf33a704a3a58e3b
Time: 2018-06-18
Author: armando@playground.global
File Name: lib/streamlit/Connection.py
Class Name: Connection
Method Name: register