Skip to content

Commit

Permalink
Make server reference volatile
Browse files Browse the repository at this point in the history
  • Loading branch information
timw authored and tglman committed Aug 24, 2022
1 parent cece343 commit 901bc89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/** Created by tglman on 08/08/17. */
public class OrientDBDistributed extends OrientDBEmbedded implements OServerAware {

private OServer server;
private volatile OServer server;
private volatile ODistributedPlugin plugin;

public OrientDBDistributed(String directoryPath, OrientDBConfig config, Orient instance) {
Expand Down

0 comments on commit 901bc89

Please sign in to comment.