diff --git a/img_handler.py b/img_handler.py index 992b937..7c370d6 100644 --- a/img_handler.py +++ b/img_handler.py @@ -51,8 +51,8 @@ def show_channel_out(self, wait=0.5): cv2.waitKey(1) gevent.sleep(wait) - def destory(self): - """ destory """ + def destroy(self): + """ destroy """ if self._cfg['receive_opt'] == True: self._cfg['receive_opt'] = Fasle self._channel['in'] = []