(IDbConnection conn, bool disconnect = false)
| 57 | } |
| 58 | |
| 59 | public static bool Remove(IDbConnection conn, bool disconnect = false) |
| 60 | { |
| 61 | var connections = Instance?.Connections; |
| 62 | if (connections != null && connections.Remove(conn)) |
| 63 | { |
| 64 | if (disconnect) |
| 65 | { |
| 66 | conn.Disconnect(); |
| 67 | } |
| 68 | |
| 69 | return true; |
| 70 | } |
| 71 | |
| 72 | return false; |
| 73 | } |
| 74 | |
| 75 | public override void _EnterTree() |
| 76 | { |
nothing calls this directly
no test coverage detected