Add a bug reference for import not being thread safe

This commit is contained in:
Kovid Goyal 2020-09-27 14:01:20 +05:30
parent 9eb68319cd
commit 639fc2dd51
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -174,6 +174,7 @@ class Register(Thread):
# make sure no imports happen in this thread as python's zipimport
# machinery is not thread safe and main GUI importing is happening
# in parallel
# https://bugs.python.org/issue38884
try:
self.do_register()
except Exception: