This is a temporary fix for the Mac crash on launch; don't call AutoRegister on Mac. Approved by sar

This commit is contained in:
sfraser%netscape.com 1999-02-19 23:28:49 +00:00
parent 3e7432152f
commit ed07fb174e
2 changed files with 8 additions and 2 deletions

View File

@ -722,7 +722,10 @@ nsresult nsRepository::Initialize(void)
#endif
// Initiate autoreg
#ifndef XP_MAC
// this is seriously broken on Mac right now; this is a temporary workaround
AutoRegister(NS_Startup, NULL);
#endif
return NS_OK;
}

View File

@ -722,7 +722,10 @@ nsresult nsRepository::Initialize(void)
#endif
// Initiate autoreg
#ifndef XP_MAC
// this is seriously broken on Mac right now; this is a temporary workaround
AutoRegister(NS_Startup, NULL);
#endif
return NS_OK;
}