mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Use a daemon thread for the timer.
This commit is contained in:
@@ -7,7 +7,7 @@ import org.briarproject.api.system.Timer;
|
||||
/** Default timer implementation. */
|
||||
public class SystemTimer implements Timer {
|
||||
|
||||
private final java.util.Timer timer = new java.util.Timer();
|
||||
private final java.util.Timer timer = new java.util.Timer(true);
|
||||
|
||||
public void cancel() {
|
||||
timer.cancel();
|
||||
|
||||
Reference in New Issue
Block a user