How Mozilla works
n
At startup, Mozilla calls GRE_Startup() to
–
Find a GRE installation.
–
Load the XPCOM library.
n
At shutdown, Mozilla calls
GRE_Shutdown() to clean up.