fixed crash when plugin using libskindesigner is started before skindesigner
This commit is contained in:
parent
ac0e6dbc8d
commit
7c6167a79e
|
@ -104,6 +104,7 @@ bool cPluginSkinDesigner::ProcessArgs(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool cPluginSkinDesigner::Initialize(void) {
|
bool cPluginSkinDesigner::Initialize(void) {
|
||||||
|
plgManager = new cSDPluginManager();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -118,7 +119,6 @@ bool cPluginSkinDesigner::Start(void) {
|
||||||
} else
|
} else
|
||||||
dsyslog("skindesigner: TrueColor OSD found");
|
dsyslog("skindesigner: TrueColor OSD found");
|
||||||
|
|
||||||
plgManager = new cSDPluginManager();
|
|
||||||
libskindesignerApiVersion = LIBSKINDESIGNERAPIVERSION;
|
libskindesignerApiVersion = LIBSKINDESIGNERAPIVERSION;
|
||||||
dsyslog("skindesigner: using libskindesigner API Version %s", libskindesignerApiVersion.c_str());
|
dsyslog("skindesigner: using libskindesigner API Version %s", libskindesignerApiVersion.c_str());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue