mirror of
https://github.com/outbackdingo/Reticulum.git
synced 2026-01-27 10:20:20 +00:00
Workaround for https://github.com/python/cpython/issues/138720
This commit is contained in:
@@ -415,7 +415,7 @@ class TestChannel(unittest.TestCase):
|
||||
nonlocal count, write_finished
|
||||
count = writer.write(data.encode("utf-8"))
|
||||
writer.flush()
|
||||
writer.close()
|
||||
# writer.close() # TODO: Temporary workaround for https://github.com/python/cpython/issues/138720
|
||||
write_finished = True
|
||||
threading.Thread(target=write_thread, name="Write Thread", daemon=True).start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user