IDEMPIERE-3516:Spurious wakeups on EventManager
This commit is contained in:
parent
e8bf4a03cb
commit
d2acbd8e74
|
@ -72,7 +72,7 @@ public class EventManager implements IEventManager {
|
|||
*/
|
||||
public static IEventManager getInstance() {
|
||||
synchronized (mutex) {
|
||||
if (instance == null) {
|
||||
while (instance == null) {
|
||||
try {
|
||||
mutex.wait(10000);
|
||||
} catch (InterruptedException e) {
|
||||
|
|
Loading…
Reference in New Issue