BApplication: Avoid create_app_meta_mime() for the registrar.
BApplication::_InitData() already avoided the use of BRoster from the registrar (and launch_daemon) where it isn't available. Since create_app_meta_mime() indirectly just sends a message to the registrar using BRoster, it too cannot work when the registrar isn't available.
This commit is contained in:
parent
811f0164a0
commit
3667f6efdb
@ -509,7 +509,7 @@ BApplication::_InitData(const char* signature, bool initGUI, status_t* _error)
|
||||
|
||||
// create meta MIME
|
||||
BPath path;
|
||||
if (path.SetTo(&ref) == B_OK)
|
||||
if (registerApp && path.SetTo(&ref) == B_OK)
|
||||
create_app_meta_mime(path.Path(), false, true, false);
|
||||
|
||||
#ifndef RUN_WITHOUT_APP_SERVER
|
||||
|
Loading…
Reference in New Issue
Block a user