edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] in compartment
Date: Wed, 19 Feb 2014 15:39:12 -0500	[thread overview]
Message-ID: <20140119153912.eklhad@comcast.net> (raw)

Maybe ... in javaSessionFail just print and set a flag,
Then return because of the error condition.
The calling function might then return because of the error,
and so on, unwinding the stack all the way back to html.
So there was an error but cw->jss is still there.
in the SwitchCompartment macro,
if js is dead then return, as we do today,
but if it is still there and the abort flag is set then destroy context and set jss = null and return.

Everything would unwind and free properly,
and the js context would go away, perhaps on the next call.
Maybe that would keep things from becoming a mess.

Karl Dahlke

             reply	other threads:[~2014-02-19 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 20:39 Karl Dahlke [this message]
2014-02-19 21:09 ` Adam Thompson
2014-02-20  0:32   ` Adam Thompson
2014-02-20  1:39 Karl Dahlke
2014-02-20  9:30 ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140119153912.eklhad@comcast.net \
    --to=eklhad@comcast.net \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).