You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
In Consequence.execute, callbacks are executed one after the other. But if one of them adds a new callback in the queue, this new one will be executed during the same frame.
Repeat the same operation again and again, then you obtain an infinite loop that ends in error 1502.
The promises standards well say that onFulfilled should be executed the frame after deferred.resolve.
How to fix :
Use 2 callback queues, and do double-buffering. While the first queue is executed, new callbacks are pushed into the second queue, then the second queue is executed the next frame.
The text was updated successfully, but these errors were encountered:
In Consequence.execute, callbacks are executed one after the other. But if one of them adds a new callback in the queue, this new one will be executed during the same frame.
Repeat the same operation again and again, then you obtain an infinite loop that ends in error 1502.
The promises standards well say that onFulfilled should be executed the frame after deferred.resolve.
How to fix :
Use 2 callback queues, and do double-buffering. While the first queue is executed, new callbacks are pushed into the second queue, then the second queue is executed the next frame.
The text was updated successfully, but these errors were encountered: