Use non unique flag for App ID
When loaded as PKCS#11 module, OpenSC will reuse the application identifier for each instance. We don't want to put any burdon on the primary GApplication, so we use a non unique ID. fixes https://github.com/OpenSC/OpenSC/issues/1332
This commit is contained in:
parent
099270092a
commit
537a208c25
|
@ -380,7 +380,7 @@ static GApplication *application = NULL;
|
|||
void sc_notify_init(void)
|
||||
{
|
||||
sc_notify_close();
|
||||
application = g_application_new("org.opensc.notify", G_APPLICATION_FLAGS_NONE);
|
||||
application = g_application_new("org.opensc.notify", G_APPLICATION_NON_UNIQUE);
|
||||
if (application) {
|
||||
g_application_register(application, NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue