gecko-dev/netwerk/build
Andrew McCreight c8c32ddc29 Bug 1760018 - Clean up networking registrars earlier to avoid leaks. r=necko-reviewers,kershaw
These registrars can hold channels alive, which can hold listeners alive,
which can hold cycle collected things alive. By clearing the registrars
before the final CC instead of after the final CC, we can avoid spurious
leaks.

It would make more logical sense to do this earlier, at net teardown,
but I've made the minimal change to try to avoid stirring up weird
shutdown issues.

Differential Revision: https://phabricator.services.mozilla.com/D177182
2023-05-05 15:04:46 +00:00
..
components.conf
moz.build
nsNetCID.h
nsNetModule.cpp Bug 1760018 - Clean up networking registrars earlier to avoid leaks. r=necko-reviewers,kershaw 2023-05-05 15:04:46 +00:00
nsNetModule.h