lib/prometheus/client/helper/mmaped_file.rb in prometheus-client-mmap-0.15.0 vs lib/prometheus/client/helper/mmaped_file.rb in prometheus-client-mmap-0.16.0
- old
+ new
@@ -21,9 +21,10 @@
super(filepath)
end
def close
munmap
+ FileLocker.unlock(filepath)
end
private
def initial_mmap_file_size