Mac: It’s easy to let the amount of Mac apps you have open at any given time spin out of control. Quitter’s an app from Instapaper developer Marco Arment that’ll quit or hide any app you want after a period of inactivity.
Source: Quitter for Mac Automatically Quits or Hides Apps After Inactivity (Lifehacker)