diff --git a/lib/rdf/model/uri.rb b/lib/rdf/model/uri.rb index deeb4ffc..1ebf5e5c 100644 --- a/lib/rdf/model/uri.rb +++ b/lib/rdf/model/uri.rb @@ -716,8 +716,8 @@ def dup ## # @private def freeze - unless frozen? - @mutex.synchronize do + @mutex.synchronize do + unless frozen? # Create derived components authority; userinfo; user; password; host; port @value = value.freeze