diff options
Diffstat (limited to 'lib/pstore.rb')
-rw-r--r-- | lib/pstore.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb index 66a919e189..87153ed2cd 100644 --- a/lib/pstore.rb +++ b/lib/pstore.rb @@ -128,7 +128,7 @@ class PStore @abort = false @ultra_safe = false @thread_safe = thread_safe - @lock = Mutex.new + @lock = Thread::Mutex.new end # Raises PStore::Error if the calling code is not in a PStore#transaction. |