we don't need the connection around after a disconnect
This commit is contained in:
parent
b82e307931
commit
49e50cad14
@ -241,7 +241,10 @@ module ActiveRecord
|
||||
end
|
||||
|
||||
def disconnect!
|
||||
unless @connection.nil?
|
||||
@connection.close
|
||||
@connection = nil
|
||||
end
|
||||
end
|
||||
|
||||
def reset!
|
||||
|
Loading…
Reference in New Issue
Block a user