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 triage currently at #6219 would fix it, with the explanation and code
// This nested await has been made SAFER by "IIAFE". Note that// doing so does *not* postpone when the `sync()` happens,// which would be especially scary for something named `sync()`.// Rather, it potentially postpones when the `close()`s happen// in case `sync()` throws. With the IIAFE, if this line is// executed, then the `close()`s would always happen in a later turn.//// But this nested await is not actually safe because it is nested in// an `if`, the other branch of which proceeds synchronously. The// `if` is not terminal because of the stateful `close()`s afterward.// On the else branch, those `close()`s would happen synchronously.// eslint-disable-next-line @jessie.js/no-nested-awaitawait(async()=>destination.sync())();
Most of #6219 consists of commentary or cosmetic code changes, and so can be postponed until after PS0. But this is a safety fix. Whether we should cherry pick it, to get it in before PS0 depends on what the consequences are of not fixing it.
Assigning myself since I have the fix done in #6219 and would do the cherry picking if we decide to do that.
Git blame shows @gibson042 and @mhofman as the ones who should probably investigate this, so I'm assigning to them as well. Feel free to reassign as appropriate of course.
Also assigning @dtribble since he commented on this one and suggested a different fix.
The text was updated successfully, but these errors were encountered:
agoric-sdk/packages/swing-store/src/snapStore.js
Line 195 in 293f88e
The triage currently at #6219 would fix it, with the explanation and code
Most of #6219 consists of commentary or cosmetic code changes, and so can be postponed until after PS0. But this is a safety fix. Whether we should cherry pick it, to get it in before PS0 depends on what the consequences are of not fixing it.
Assigning myself since I have the fix done in #6219 and would do the cherry picking if we decide to do that.
Git blame shows @gibson042 and @mhofman as the ones who should probably investigate this, so I'm assigning to them as well. Feel free to reassign as appropriate of course.
Also assigning @dtribble since he commented on this one and suggested a different fix.
The text was updated successfully, but these errors were encountered: