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
The documentation warns that sometimes a "finally" block may not be executed due to asynchrony. If I have some clean-up code that needs to be run no matter how a deferred chain terminates, what's the best, most robust way to do that? I worry about implementing cleanup code that silently gets ignored sometimes.
The text was updated successfully, but these errors were encountered:
When some deferred task fails to call the callback function without appropriate error handling, the subsequent tasks can not be executed for ever. In this case, the 'finally' block will not be executed.
Not only coding bugs on elisp, but also external processes cause to break deferred flows, such as unexpected freezing, undetectable exiting, packet loss and some I/O error with disk or network.
The documentation warns that sometimes a "finally" block may not be executed due to asynchrony. If I have some clean-up code that needs to be run no matter how a deferred chain terminates, what's the best, most robust way to do that? I worry about implementing cleanup code that silently gets ignored sometimes.
The text was updated successfully, but these errors were encountered: