diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/net/java/games/joal/ALCImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/net/java/games/joal/ALCImpl.java b/src/java/net/java/games/joal/ALCImpl.java index 6e7ccc5..fab3a56 100644 --- a/src/java/net/java/games/joal/ALCImpl.java +++ b/src/java/net/java/games/joal/ALCImpl.java @@ -201,7 +201,7 @@ final class ALCImpl implements ALC { Thread owner = null; public synchronized void acquire() { boolean interrupted = false; - while(owner != null) { + while(owner != null && owner != Thread.currentThread()) { try { wait(); } catch (InterruptedException e) { |