prometheus-client-mmap 1.2.4-x86_64-linux-gnu → 1.2.5-x86_64-linux-gnu
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 904d4e24a681d9f39ab8daa4969f1672ceccf635fce884fda349bd4fc4903530
|
4
|
+
data.tar.gz: c9dce3ea3ec8f0ffa930bfb373335b68c56d714d6e9cee2593721770a457adb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7691f3abb7d57aadb5c86f3bcf6c69a3d43fadbc36ff3d78f8ae9ef7a6bab93b7e250c23e740aa780895499e4ffc441c06c005660ef68379f0fd76cf310e5fb2
|
7
|
+
data.tar.gz: 0b65a866a0d2c53f2c124a5e2ff60ef8dd682ca01af14bae33fa0a74b67b3cb457cb6f0a56fce9b152737c54c4f0e508fca6724d0148959737fe4a21a2d70333
|
@@ -399,6 +399,12 @@ impl MmapedFile {
|
|
399
399
|
// Iterate over the values of the `WeakMap`.
|
400
400
|
for val in tracker.enumeratorize("each_value", ()) {
|
401
401
|
let rb_string = val?;
|
402
|
+
|
403
|
+
// A nil value suggests that the value was garbage collected
|
404
|
+
if rb_string.is_nil() {
|
405
|
+
continue;
|
406
|
+
}
|
407
|
+
|
402
408
|
let str = RString::from_value(rb_string)
|
403
409
|
.ok_or_else(|| err!(arg_error(), "weakmap value was not a string"))?;
|
404
410
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|