forked from j62/ctbrec
Clear threadpool queue when tab is changed
Clear the threadpool queue when the user switches between tabs, so that the resolution tags, which are visible get updated earlier. Before, the tags on tab the user is coming from were updated first and after that the tags of the currently visible tab.
This commit is contained in:
parent
e61cff48f2
commit
c91c9641f0
|
@ -565,6 +565,7 @@ public class ThumbOverviewTab extends Tab implements TabSelectionListener {
|
|||
|
||||
@Override
|
||||
public void selected() {
|
||||
queue.clear();
|
||||
if(updateService != null) {
|
||||
State s = updateService.getState();
|
||||
if (s != State.SCHEDULED && s != State.RUNNING) {
|
||||
|
|
Loading…
Reference in New Issue