-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: Prevent closing the portal twice #2609
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks @matthieusieben! Is there any way you could write a test for this? |
Hey @brianc I added a test that indeed fails on my setup (without the fix of course). Not sure this test is a 100% useful as I don't know if it will fail in every setup, and I don't know how to trigger the same error in other setups... |
ah sweet I'll try it over here & see if I can repro. Either way this LGTM so I'll get it merged & released this week. Sorry for the delay. ❤️ |
Hey @matthieusieben - I was gonna merge this today. CI was broken. I fixed it...would you be able to rebase your branch on to current |
Hey @brianc , my wife just gave birth which is why I didn't answer earlier. I rebased & fixed the issue. The problem was due to the ordering of the operation in the Should be good now. |
CI still seem broken but I don't think its related to these changes:
|
RE-running CI worked: There might be a race condition making the test suite fail ;-) |
@brianc any change this gets merged any time soon ? |
ah right on, lemme let the tests run & I'll get this integrated! |
Followup of #2120
Fixes #2119