i'm using filebot to create a custom tool for myself - and i noticed something wierd...
in the current dev version:
* the TMDbClient has 2 static FloodLimit objects
* the FloodLimit object has a private ScheduledThreadPoolExecutor, and it only schedules tasks to it...the executor itself never get shutdown-ed...
on my system, this leads to an exit hang...simplified example which hangs:
public class FloodLimitTest {
public static void main(String[]a) throws Exception {
final FloodLimit fl = new FloodLimit(1, 3, TimeUnit.SECONDS);
fl.acquirePermit();
System.out.println("exiting main");
}
}
i'm not sure how this doesn't happend before...the code looks at least 2 years old - or my machines are picky?

cheers