IDEMPIERE-3516:Spurious wakeups on EventManager

This commit is contained in:
hieplq 2017-10-11 22:51:19 +07:00
parent e8bf4a03cb
commit d2acbd8e74
1 changed files with 1 additions and 1 deletions

View File

@ -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) {