Fixing the garbage collector related error.
This commit is contained in:
parent
5e5de4a9f1
commit
4d7a7d3742
@ -117,6 +117,12 @@ class Relations < Array(Relation)
|
|||||||
rescue e
|
rescue e
|
||||||
Baguette::Log.error "(ignoring) closing the service socket: #{e}"
|
Baguette::Log.error "(ignoring) closing the service socket: #{e}"
|
||||||
end
|
end
|
||||||
|
begin
|
||||||
|
r.ws.close
|
||||||
|
Baguette::Log.warning "CLOSING THE WS"
|
||||||
|
rescue e
|
||||||
|
Baguette::Log.error "(ignoring) closing the ws: #{e}"
|
||||||
|
end
|
||||||
|
|
||||||
all_fd.select! {|v| v != r.fd_client && v != r.fd_service }
|
all_fd.select! {|v| v != r.fd_client && v != r.fd_service }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user