This commit is contained in:
Abraham Kiggundu
2014-12-26 17:35:37 +03:00
parent b074978472
commit 9a2e93ebb9
15 changed files with 25 additions and 43 deletions

View File

@@ -39,7 +39,7 @@ class WindowsShutdownManagerImpl extends ShutdownManagerImpl {
private final Map<String, Object> options;
private boolean initialised = false; // Locking: this
private boolean initialised = false;
private final Lock synchLock = new ReentrantLock();
@@ -69,7 +69,6 @@ class WindowsShutdownManagerImpl extends ShutdownManagerImpl {
return new StartOnce(r);
}
// Locking: this
private void initialise() {
if(OsUtils.isWindows()) {
new EventLoop().start();