From b45bfb7560481afe30ad1df87676122bab250b5c Mon Sep 17 00:00:00 2001 From: kittisopikulm Date: Tue, 8 Nov 2022 23:03:19 -0500 Subject: [PATCH] Formatting --- src/api/lock.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/lock.jl b/src/api/lock.jl index 1c48ecfef..4057ce651 100644 --- a/src/api/lock.jl +++ b/src/api/lock.jl @@ -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