We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e049178 commit fecad9eCopy full SHA for fecad9e
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/AsyncHandler.java
@@ -149,7 +149,8 @@ void triggerAsyncActions() {
149
CompilerDirectives.transferToInterpreter();
150
// TODO: (tfel) - for now all async actions are slow path
151
ConcurrentLinkedQueue<AsyncAction> actions = scheduledActions;
152
- for (AsyncAction action : actions) {
+ AsyncAction action;
153
+ while ((action = actions.poll()) != null) {
154
Object callable = action.callable();
155
if (callable != null) {
156
Object[] arguments = action.arguments();
0 commit comments