From a88c2d48c0ac3562fcc957b20a76fca97b93bf32 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Tue, 23 Feb 2016 23:57:51 +0100 Subject: [PATCH] No possibility of multiple invocation of log export --- .../java/eu/siacs/conversations/services/ExportLogsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/services/ExportLogsService.java b/src/main/java/eu/siacs/conversations/services/ExportLogsService.java index 76983a905..87e65931b 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();