public override void Close() { var start = Stopwatch.GetTimestamp(); _connection.Close(); _hooks.ConnectionClosed(this, _context, GetElapsedMilliseconds(start, Stopwatch.GetTimestamp())); }
public override void Close() { var sw = Stopwatch.StartNew(); _connection.Close(); _hooks.ConnectionClosed(this, _context, sw.ElapsedMilliseconds); }