aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs
diff options
context:
space:
mode:
authorfiaxh <github@lightrise.org>2016-02-23 23:57:51 +0100
committerfiaxh <github@lightrise.org>2016-02-24 15:10:41 +0100
commita88c2d48c0ac3562fcc957b20a76fca97b93bf32 (patch)
tree6306694ea364529e07330b984ea45feb313f8b11 /src/main/java/eu/siacs
parent689ded160718b5c73e118abe531530082b322636 (diff)
No possibility of multiple invocation of log export
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r--src/main/java/eu/siacs/conversations/services/ExportLogsService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/services/ExportLogsService.java b/src/main/java/eu/siacs/conversations/services/ExportLogsService.java
index 76983a90..87e65931 100644
--- a/src/main/java/eu/siacs/conversations/services/ExportLogsService.java
+++ b/src/main/java/eu/siacs/conversations/services/ExportLogsService.java
@@ -45,9 +45,9 @@ public class ExportLogsService extends Service {
new Thread(new Runnable() {
@Override
public void run() {
- running.set(false);
export();
stopForeground(true);
+ running.set(false);
stopSelf();
}
}).start();