Ref: simplify getInstance, do not put context on a singleton
This commit is contained in:
@@ -94,7 +94,7 @@ import okhttp3.HttpUrl;
|
||||
public Client(Gui gui, Configuration configuration, String url) {
|
||||
this.configuration = configuration;
|
||||
this.server = new Server(url, this.configuration, this);
|
||||
this.log = Log.getInstance(this.configuration);
|
||||
this.log = Log.getInstance();
|
||||
this.gui = gui;
|
||||
this.directoryManager = new DirectoryManager(this.configuration);
|
||||
this.renderingJob = null;
|
||||
|
||||
Reference in New Issue
Block a user