mirror of
https://github.com/imayushsaini/Bombsquad-Ballistica-Modded-Server.git
synced 2026-08-15 13:04:30 +00:00
syncing 1.7.60 ballistica binary
This commit is contained in:
parent
2870c850c4
commit
e02f1dbe52
241 changed files with 10185 additions and 1827 deletions
7
dist/ba_data/python/efro/threadpool.py
vendored
7
dist/ba_data/python/efro/threadpool.py
vendored
|
|
@ -10,6 +10,8 @@ import threading
|
|||
from typing import TYPE_CHECKING, ParamSpec
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
from efro.util import strip_exception_tracebacks
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing import Any, Callable
|
||||
from concurrent.futures import Future
|
||||
|
|
@ -83,5 +85,8 @@ class ThreadPoolExecutorEx(ThreadPoolExecutor):
|
|||
self.no_wait_count -= 1
|
||||
try:
|
||||
fut.result()
|
||||
except Exception:
|
||||
except Exception as exc:
|
||||
logger.exception('Error in work submitted via submit_no_wait().')
|
||||
# We're done with this exception, so strip its traceback to
|
||||
# avoid reference cycles.
|
||||
strip_exception_tracebacks(exc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue