shutdown on autoPost only.
This commit is contained in:
parent
1749a081de
commit
044f1b85b7
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue