Skip to content

Commit 1ff5f2e

Browse files
msimacekotethal
authored andcommitted
Fix weakref callback callable-arguments mismatch
1 parent a4ffa74 commit 1ff5f2e

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/AsyncHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ protected boolean proceed() {
119119

120120
@Override
121121
public final void execute(PythonContext context) {
122-
Object callable = callable();
123122
do {
123+
Object callable = callable();
124124
if (callable != null) {
125125
Object[] arguments = arguments();
126126
Object[] args = PArguments.create(arguments.length + CallRootNode.ASYNC_ARG_COUNT);

0 commit comments

Comments
 (0)