зеркало из https://github.com/mozilla/gecko-dev.git
c1ce54a82a
Unfortunately, this needed some additional trickery in order to keep its constructor "private". I stole this trick from [1]. With this patch, we tear down the statistics object during XPCOM shutdown intead of after it. I don't believe that we need the object to live past the ClearOnShutdown destructors. [1] http://rienajouter.blogspot.com/2014/10/makeshared-and-makeunique-for-classes.html MozReview-Commit-ID: JsiN6Bq9Yp4 --HG-- extra : rebase_source : dd26c8e6906a6c9fd500c28379f8c63fd7c3ad6a |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
typelib | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |