Wait for server threads to finish
This commit is contained in:
parent
0afbc73b2a
commit
30f57637ee
Notes:
git
2024-07-29 23:34:01 +00:00
@ -41,8 +41,9 @@ module TestNetHTTPUtils
|
||||
end
|
||||
|
||||
def shutdown
|
||||
@thread.kill if @thread
|
||||
@server.close if @server
|
||||
@thread&.kill
|
||||
@server&.close
|
||||
@thread&.join
|
||||
end
|
||||
|
||||
def mount(path, proc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user