Restaurants have seating times right up until they close. They then stay open until the last guest finishes and leaves. The "closing time" is just a "last seating time". I worked in restaurants for years, and we would take seatings right up until the very last minute, even on walk-ins.