shutdown on autoPost only.

This commit is contained in:
Erik C. Thauvin 2020-07-11 18:32:30 -07:00
parent 1749a081de
commit 044f1b85b7

View file

@ -270,8 +270,10 @@ public final class Twitter extends ThreadedModule {
* Post all the entries to Twitter on shutdown. * Post all the entries to Twitter on shutdown.
*/ */
public final void shutdown() { public final void shutdown() {
if (isAutoPost()) {
for (final int index : entries) { for (final int index : entries) {
postEntry(index); postEntry(index);
} }
} }
} }
}