PluginServices instance should be volatile for double checked locking

pull/14/head
Sam Bosley 12 years ago
parent 7f019c80dc
commit 5fecc800c9

@ -81,7 +81,7 @@ public final class PluginServices {
@Autowired
TagOutstandingDao tagOutstandingDao;
private static PluginServices instance;
private static volatile PluginServices instance;
static {
AstridDependencyInjector.initialize();

Loading…
Cancel
Save