File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/splitclient-rb/clients Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,12 @@ def destroy
103103 sleep ( 0.1 )
104104 if !@config . threads . key? ( :impressions_sender ) || !@config . threads . key? ( :events_sender )
105105 @config . logger . debug ( "Periodic data recording thread has not started yet, waiting for service startup." )
106- @config . threads [ :start_sdk ] . join if @config . threads . key? ( :start_sdk )
106+ @config . threads [ :start_sdk ] . join ( 5 ) if @config . threads . key? ( :start_sdk )
107107 end
108108 end
109109 @config . threads . select { |name , thread | name . to_s . end_with? 'sender' } . values . each do |thread |
110110 thread . raise ( SplitIoClient ::SDKShutdownException )
111- thread . join ( 5 )
111+ thread . join
112112 end
113113
114114 @config . threads . values . each { |thread | Thread . kill ( thread ) }
You can’t perform that action at this time.
0 commit comments