Skip to content

Commit

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

private OServer server;
private volatile OServer server;
private volatile OHazelcastPlugin plugin;

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

0 comments on commit 79e6b4d

Please sign in to comment.