Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitti committed Nov 9, 2022
1 parent 2919995 commit b45bfb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/lock.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ const liblock = ReentrantLock()
# For diagnostics
# We do not need to lock twice when use_api_lock is on
const use_lock_on_close =
Preferences.@load_preference("use_lock_on_close", default = true)::Bool && !use_api_lock
Preferences.@load_preference("use_lock_on_close", default = true)::Bool &&
!use_api_lock
else
const use_api_lock = true
const use_lock_on_close = true
Expand Down

0 comments on commit b45bfb7

Please sign in to comment.