Skip to content

Commit c459be3

Browse files
authored
Register the current thread (#951)
1 parent e6f7309 commit c459be3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Src/StdLib/Lib/test/support/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,6 +1893,7 @@ def modules_cleanup(oldmodules):
18931893

18941894
def threading_setup():
18951895
if _thread:
1896+
threading.current_thread() # ironpython: register the current thread if not running on a known thread
18961897
return _thread._count(), threading._dangling.copy()
18971898
else:
18981899
return 1, ()

0 commit comments

Comments
 (0)