Skip to content

Commit b3a9f79

Browse files
committed
Don't allow interleaving with any other task when making a sync-lowered call
1 parent 61f9727 commit b3a9f79

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

design/mvp/canonical-abi/definitions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,9 +1395,7 @@ def return_thunk(results):
13951395
nonlocal flat_results
13961396
flat_results = lower_sync_values(subtask, MAX_FLAT_RESULTS, results, ft.result_types(), flat_args)
13971397

1398-
inst.thread.release()
13991398
await callee(task, start_thunk, return_thunk)
1400-
await inst.thread.acquire()
14011399

14021400
subtask.finish()
14031401
else:

0 commit comments

Comments
 (0)