diff --git a/xpcom/tools/registry/regxpcom.cpp b/xpcom/tools/registry/regxpcom.cpp index 7bc956f9da8..41e3fd6ca54 100644 --- a/xpcom/tools/registry/regxpcom.cpp +++ b/xpcom/tools/registry/regxpcom.cpp @@ -210,6 +210,7 @@ int main(int argc, char *argv[]) { ret = ProcessArgs(registrar, argc, argv); } + eventQService = 0; NS_ShutdownXPCOM(NULL); return ret;