mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
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:
parent
3e7432152f
commit
ed07fb174e
@ -722,8 +722,11 @@ 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;
|
||||
}
|
||||
|
||||
|
@ -722,8 +722,11 @@ 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user