Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/org/jruby/runtime/load/LoadService.java
Original file line number Diff line number Diff line change
@@ -459,9 +459,7 @@ private boolean lock(String requireName) {

if (lock.isHeldByCurrentThread()) return false;

lock.lock();

return true;
return lock.tryLock();
}

/**

0 comments on commit 455bcf0

Please sign in to comment.