Remove jobs from queue when tab is deselected
This commit is contained in:
parent
702de3b772
commit
1ab771305e
|
@ -834,6 +834,7 @@ public class ThumbOverviewTab extends Tab implements TabSelectionListener {
|
||||||
if (updateService != null) {
|
if (updateService != null) {
|
||||||
updateService.cancel();
|
updateService.cancel();
|
||||||
}
|
}
|
||||||
|
queue.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void suspendUpdates(boolean suspend) {
|
void suspendUpdates(boolean suspend) {
|
||||||
|
|
Loading…
Reference in New Issue