Don't switch to libev for newer versions of gevent

This commit is contained in:
Tamas Kocsis 2020-09-04 17:49:23 +02:00
parent 0907edb6b1
commit 6c1abf4004

View file

@ -12,8 +12,8 @@ def startupError(msg):
# Third party modules
import gevent
if gevent.version_info.major <= 1: # Workaround for random crash when libuv used with threads
try:
# Workaround for random crash when libuv used with threads
if "libev" not in str(gevent.config.loop):
gevent.config.loop = "libev-cext"
except Exception as err: