Check for nil bundle identifier (eg early in initialization)

This commit is contained in:
rfm 2024-12-07 16:22:20 +00:00
parent 30d66f525b
commit 597d10d9cf

View file

@ -2096,7 +2096,7 @@ static BOOL isPlistObject(id o)
_lastSync = saved;
}
// Check and if not existent add the Application and the Global domains
if ([_persDomains objectForKey: bundleIdentifier] == nil)
if (bundleIdentifier && [_persDomains objectForKey: bundleIdentifier] == nil)
{
GSPersistentDomain *pd;