mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
Don't set running = true until properties have been loaded.
This commit is contained in:
@@ -134,8 +134,8 @@ abstract class BluetoothPlugin<SS> implements DuplexPlugin, EventListener {
|
|||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new PluginException(e);
|
throw new PluginException(e);
|
||||||
}
|
}
|
||||||
running = true;
|
|
||||||
updateProperties();
|
updateProperties();
|
||||||
|
running = true;
|
||||||
loadSettings();
|
loadSettings();
|
||||||
if (shouldAllowContactConnections()) {
|
if (shouldAllowContactConnections()) {
|
||||||
if (isAdapterEnabled()) bind();
|
if (isAdapterEnabled()) bind();
|
||||||
|
|||||||
Reference in New Issue
Block a user