File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All changes to the Agoo gem are documented here. Releases follow semantic versioning.
4
4
5
+ ## [ 2.15.12] - 2024-07-28
6
+
7
+ ### Fixed
8
+
9
+ - When multiple threads are specified and the main thread exits worker
10
+ threads not exit as well.
11
+
5
12
## [ 2.15.11] - 2024-06-04
6
13
7
14
### Fixed
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ def call(req)
38
38
end
39
39
40
40
# To run this example type the following then go to a browser and enter a URL of localhost:6464/hello.
41
- # ruby hello .rb
41
+ # ruby multi .rb
Original file line number Diff line number Diff line change @@ -809,6 +809,10 @@ wrap_process_loop(void *ptr) {
809
809
return Qnil ;
810
810
}
811
811
812
+ static void on_exit (VALUE x ) {
813
+ agoo_server .active = false;
814
+ }
815
+
812
816
/* Document-method: start
813
817
*
814
818
* call-seq: start()
@@ -908,6 +912,8 @@ rserver_start(VALUE self) {
908
912
dsleep (0.05 );
909
913
}
910
914
}
915
+ rb_set_end_proc (on_exit , Qnil );
916
+
911
917
return Qnil ;
912
918
}
913
919
Original file line number Diff line number Diff line change 1
1
2
2
module Agoo
3
3
# Agoo version.
4
- VERSION = '2.15.11 '
4
+ VERSION = '2.15.12 '
5
5
end
You can’t perform that action at this time.
0 commit comments