zygote 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zygote/server.rb +8 -8
- data/lib/zygote/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8fc6a0060bf25373dbb4474d2153fa33d3607c1
|
4
|
+
data.tar.gz: 038eb2df69c93c43bb74be0aaa7f1b91f349d825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8749da303b7c726c441e8b84141e986b8e741303d72823fff62f8ad13bca6b54658899b8c7031958a2bca7e96c9e9cff3530c8b2ca38cd1e7849fde3acb06ba2
|
7
|
+
data.tar.gz: c04444a77335f7ed272728fcf7949ce8db3deff24e8e583ee300b667865bd00acd4d4b28566e67d9fd784616a3251d9924835c632c1a088f4f25de7057fa15a4
|
data/lib/zygote/server.rb
CHANGED
@@ -40,14 +40,14 @@ module Zygote
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
43
|
+
end
|
43
44
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
Signal.trap('INT') { clean_quit.call }
|
51
|
-
Signal.trap('TERM') { clean_quit.call }
|
45
|
+
def init_sighandlers
|
46
|
+
clean_quit = lambda do
|
47
|
+
EM.stop
|
48
|
+
exit
|
52
49
|
end
|
50
|
+
|
51
|
+
Signal.trap('INT') { clean_quit.call }
|
52
|
+
Signal.trap('TERM') { clean_quit.call }
|
53
53
|
end
|
data/lib/zygote/version.rb
CHANGED