From 565452f7d3a5943dc81e9f431a9c211489b6a46f Mon Sep 17 00:00:00 2001 From: akwizgran <michael@briarproject.org> Date: Thu, 8 Feb 2018 15:03:49 +0000 Subject: [PATCH] Don't set running = true until properties have been loaded. --- .../briarproject/bramble/plugin/bluetooth/BluetoothPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bramble-core/src/main/java/org/briarproject/bramble/plugin/bluetooth/BluetoothPlugin.java b/bramble-core/src/main/java/org/briarproject/bramble/plugin/bluetooth/BluetoothPlugin.java index 928f8b034d..115b3437d3 100644 --- a/bramble-core/src/main/java/org/briarproject/bramble/plugin/bluetooth/BluetoothPlugin.java +++ b/bramble-core/src/main/java/org/briarproject/bramble/plugin/bluetooth/BluetoothPlugin.java @@ -134,8 +134,8 @@ abstract class BluetoothPlugin<SS> implements DuplexPlugin, EventListener { } catch (IOException e) { throw new PluginException(e); } - running = true; updateProperties(); + running = true; loadSettings(); if (shouldAllowContactConnections()) { if (isAdapterEnabled()) bind(); -- GitLab