Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ecsec Public
reqesidta-prototype
client-signer
Commits
3d420791
Commit
3d420791
authored
Aug 28, 2019
by
Neil Crossley
Browse files
Move thread join to after possibly showing the dialog.
parent
e64cf787
Changes
1
Hide whitespace changes
Inline
Side-by-side
clients/android-lib/src/main/java/org/openecard/android/activation/AbstractActivationHandler.java
View file @
3d420791
...
...
@@ -365,8 +365,6 @@ public abstract class AbstractActivationHandler <T extends Activity, GUI extends
try
{
LOG
.
info
(
"Stopping Authentication thread ..."
);
at
.
interrupt
();
at
.
join
();
LOG
.
info
(
"Authentication thread has stopped."
);
// cancel task and handle event
if
(
showFailure
)
{
...
...
@@ -374,6 +372,10 @@ public abstract class AbstractActivationHandler <T extends Activity, GUI extends
ActivationResult
r
=
new
ActivationResult
(
ActivationResultCode
.
INTERRUPTED
,
msg
);
handleActivationResult
(
r
);
}
at
.
join
();
LOG
.
info
(
"Authentication thread has stopped."
);
}
catch
(
InterruptedException
ex
)
{
LOG
.
error
(
"Waiting for Authentication thread interrupted."
);
}
finally
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment