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:
@@ -509,7 +509,7 @@ BApplication::_InitData(const char* signature, bool initGUI, status_t* _error)
|
|||||||
|
|
||||||
// create meta MIME
|
// create meta MIME
|
||||||
BPath path;
|
BPath path;
|
||||||
if (path.SetTo(&ref) == B_OK)
|
if (registerApp && path.SetTo(&ref) == B_OK)
|
||||||
create_app_meta_mime(path.Path(), false, true, false);
|
create_app_meta_mime(path.Path(), false, true, false);
|
||||||
|
|
||||||
#ifndef RUN_WITHOUT_APP_SERVER
|
#ifndef RUN_WITHOUT_APP_SERVER
|
||||||
|
|||||||
Reference in New Issue
Block a user