mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Safety check our automatic context deleting. (NGLayout only)
This commit is contained in:
parent
b1a37e8b47
commit
e56171c730
@ -609,6 +609,10 @@ static void bam_exit_routine(URL_Struct *URL_s, int status, MWContext *window_id
|
||||
extern "C" void net_ReleaseContext(MWContext *context)
|
||||
{
|
||||
if (context) {
|
||||
free_stub_context(context);
|
||||
if (context->modular_data) {
|
||||
free_stub_context(context);
|
||||
} else {
|
||||
TRACEMSG(("net_ReleaseContext: not releasing non-modular context"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user