[Fix]修复币安API关闭时的线程池关闭问题

This commit is contained in:
vn.py 2018-06-10 14:59:03 +08:00
parent 70ed2dfd66
commit c42ecb6ec8

View File

@ -85,6 +85,8 @@ class BinanceApi(object):
def close(self):
""""""
self.active = False
if self.pool:
self.pool.close()
self.pool.join()