Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a182a9 commit fd9940fCopy full SHA for fd9940f
setupext.py
@@ -1853,10 +1853,15 @@ def check_requirements(self):
1853
p = multiprocessing.Pool()
1854
except:
1855
return "unknown (can not use multiprocessing to determine)"
1856
- res = p.map_async(backend_gtk3cairo_internal_check, [0])
1857
- success, msg = res.get(timeout=5)[0]
1858
- p.close()
1859
- p.join()
+ try:
+ res = p.map_async(backend_gtk3cairo_internal_check, [0])
+ success, msg = res.get(timeout=5)[0]
+ except:
1860
+ success = False
1861
+ raise
1862
+ finally:
1863
+ p.close()
1864
+ p.join()
1865
if success:
1866
BackendAgg.force = True
1867
0 commit comments