prometheus-client-mmap 1.2.4-aarch64-linux-gnu → 1.2.5-aarch64-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: 5f40be4eea2a02dda7310ecbb26d68570e55d63fc0a91ddbc37d2aaaf5a5a96b
|
4
|
+
data.tar.gz: e733278f2006e3d2b19047d88e786a9b1380c73ce78b80486243efad06b7180f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6dbd80c80d8392edca960846bde42a739535e05eb1c0da24e12b50b5e7ce5310851f33b8744a547a93fd7fe1f6515ce6303e89dc4fea54e0a330f7b2c1c157f0
|
7
|
+
data.tar.gz: 59fbe8fd5f02854fac828d69750620c4190f4b6362159ec23db768e1eb4c97ab39c85a232b6e8cb0e5148e6284eb27f66338ebdf476646edbd9277ca39d51588
|
@@ -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
|