edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev]  in compartment
@ 2014-02-20  1:39 Karl Dahlke
  2014-02-20  9:30 ` Adam Thompson
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Dahlke @ 2014-02-20  1:39 UTC (permalink / raw)
  To: Edbrowse-dev

Well don't worry bout indenting for the moment, not vital;
and thanks again for all your help.

Karl Dahlke

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Edbrowse-dev] in compartment
@ 2014-02-19 20:39 Karl Dahlke
  2014-02-19 21:09 ` Adam Thompson
  0 siblings, 1 reply; 5+ messages in thread
From: Karl Dahlke @ 2014-02-19 20:39 UTC (permalink / raw)
  To: Edbrowse-dev

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-20  9:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20  1:39 [Edbrowse-dev] in compartment Karl Dahlke
2014-02-20  9:30 ` Adam Thompson
  -- strict thread matches above, loose matches on Subject: below --
2014-02-19 20:39 Karl Dahlke
2014-02-19 21:09 ` Adam Thompson
2014-02-20  0:32   ` Adam Thompson

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).