Skip to content

Commit

Permalink
Remove key when application failed to start
Browse files Browse the repository at this point in the history
WE2-465

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma authored and mrts committed Jul 13, 2021
1 parent 5ca983b commit 5aef9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mac/safari-extension.mm
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ - (BOOL)execNativeApp {
[NSThread sleepForTimeInterval:1.0];
NSLog(@"web-eid-safari-extension: waiting to be running %@", [getUserDefaults() objectForKey:WebEidStarting]);
}
if ([getUserDefaults() boolForKey:WebEidStarting]) {
if ([(NSNumber*)takeValue(WebEidStarting) boolValue]) {
NSLog(@"web-eid-safari-extension: timeout to start app");
return NO;
}
Expand Down

0 comments on commit 5aef9c6

Please sign in to comment.