Skip to content
Snippets Groups Projects
Commit 569b5962 authored by akwizgran's avatar akwizgran
Browse files

Use a daemon thread for the timer.

parent 66619ec1
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import org.briarproject.api.system.Timer; ...@@ -7,7 +7,7 @@ import org.briarproject.api.system.Timer;
/** Default timer implementation. */ /** Default timer implementation. */
public class SystemTimer implements Timer { 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() { public void cancel() {
timer.cancel(); timer.cancel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment