| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: Efe Karasakal <hi@efe.dev>
Signed-off-by: Efe Karasakal <hi@efe.dev>
Signed-off-by: Efe Karasakal <hi@efe.dev>
|
Review requested:
|
Sorry, something went wrong.
There was a problem hiding this comment.
Some linting errors here but otherwise LGTM
Sorry, something went wrong.
Just fixed them, thanks! |
Sorry, something went wrong.
Signed-off-by: Efe Karasakal <hi@efe.dev>
Sorry, something went wrong.
Signed-off-by: Efe Karasakal <hi@efe.dev> PR-URL: #64158 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Signed-off-by: Efe Karasakal <hi@efe.dev> PR-URL: #64158 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Signed-off-by: Efe Karasakal <hi@efe.dev> PR-URL: #64158 Reviewed-By: Tim Perry <pimterry@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
| Back | FazBrowse Home | New Git URL |
This started as a fix for #64030 (unidirectional stream crashing when there's no onstream handler). Which was caused by JS synchronously destroying the stream (because there was no handler) and native code still trying to access it.
While testing that, I also ran into teardown issues around destroy() in the same repro. I ended up including this one too, because without it I couldn't test cleanly. Session::Impl::~Impl() could drop the last owner of the Session, then keep using session_->env() afterward. I changed the order so anything that still needs env() runs before the session can disappear.