mini_racer 0.14.1 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +8 -0
- data/ext/mini_racer_loader/mini_racer_loader.c +1 -1
- data/lib/mini_racer/version.rb +1 -1
- data/lib/mini_racer.rb +1 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ace23a02267bc807c215b38f85932cb51c8f273fed081606f1569d275776c557
|
4
|
+
data.tar.gz: 872d4c4d33cf6300ef60b1c30cc4dbef7471bd23c2fa4712af95a9bdeb5f981d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f68505f506845f4e6ef96a742ad718d18eea828ec48bd73afe6ad776191c1019430db75b13bdbbe5dbc492b301dd84d47db20ce6eed3754a3316ba018b85797
|
7
|
+
data.tar.gz: dee926b81aa7c45144786078b62b5de97700a7a3076dc20359865ee3ab91c5f6063aa5df3ca5e3039a0a95e08a11bf0ea6cd034b87dc32dbb16900c99d7e757e
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
- 0.16.0 - 05-09-2024
|
2
|
+
|
3
|
+
- Sadly still seeing segfaults, reverted back 18.19.0.0
|
4
|
+
|
5
|
+
- 0.15.0 - 05-09-2024
|
6
|
+
|
7
|
+
- Use libv8-node 22.7.0 - this corrects issues with multithreaded behavior and forking in single threaded mode.
|
8
|
+
|
1
9
|
- 0.14.1 - 14-08-2024
|
2
10
|
|
3
11
|
- No longer use mini_racer_loader if LD_PRELOAD is defined and adds a malloc provider. This resolves segfaults when people LD_PRELOAD jemalloc or tcmalloc.
|
@@ -115,7 +115,7 @@ failed:
|
|
115
115
|
rb_raise(rb_eLoadError, "%s", error);
|
116
116
|
}
|
117
117
|
|
118
|
-
__attribute__((visibility("default"))) void Init_mini_racer_loader()
|
118
|
+
__attribute__((visibility("default"))) void Init_mini_racer_loader(void)
|
119
119
|
{
|
120
120
|
VALUE mMiniRacer = rb_define_module("MiniRacer");
|
121
121
|
VALUE mLoader = rb_define_module_under(mMiniRacer, "Loader");
|
data/lib/mini_racer/version.rb
CHANGED
data/lib/mini_racer.rb
CHANGED
@@ -316,6 +316,7 @@ module MiniRacer
|
|
316
316
|
@last_eval = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
317
317
|
@ensure_gc_mutex.synchronize do
|
318
318
|
@ensure_gc_thread = nil if !@ensure_gc_thread&.alive?
|
319
|
+
return if !Thread.main.alive? # avoid "can't alloc thread" exception
|
319
320
|
@ensure_gc_thread ||= Thread.new do
|
320
321
|
ensure_gc_after_idle_seconds = @ensure_gc_after_idle / 1000.0
|
321
322
|
done = false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_racer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Saffron
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -119,9 +119,9 @@ licenses:
|
|
119
119
|
- MIT
|
120
120
|
metadata:
|
121
121
|
bug_tracker_uri: https://github.com/discourse/mini_racer/issues
|
122
|
-
changelog_uri: https://github.com/discourse/mini_racer/blob/v0.
|
123
|
-
documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.
|
124
|
-
source_code_uri: https://github.com/discourse/mini_racer/tree/v0.
|
122
|
+
changelog_uri: https://github.com/discourse/mini_racer/blob/v0.16.0/CHANGELOG
|
123
|
+
documentation_uri: https://www.rubydoc.info/gems/mini_racer/0.16.0
|
124
|
+
source_code_uri: https://github.com/discourse/mini_racer/tree/v0.16.0
|
125
125
|
post_install_message:
|
126
126
|
rdoc_options: []
|
127
127
|
require_paths:
|