(issue)
| 866 | |
| 867 | |
| 868 | uncacheIssue(issue) { |
| 869 | const box = this.recheckBoxes.get(issue.id); |
| 870 | if (box) { |
| 871 | this.recheckRBush.remove(box); |
| 872 | this.recheckBoxes.delete(issue.id); |
| 873 | } |
| 874 | |
| 875 | for (const entityID of issue.entityIds ?? []) { |
| 876 | let issueIDs = this.entityIssueIDs.get(entityID); |
| 877 | if (issueIDs) { |
| 878 | issueIDs.delete(issue.id); |
| 879 | if (!issueIDs.size) { |
| 880 | this.entityIssueIDs.delete(entityID); |
| 881 | } |
| 882 | } |
| 883 | } |
| 884 | this.issues.delete(issue.id); |
| 885 | } |
| 886 | |
| 887 | |
| 888 | cacheIssues(issues = []) { |
no test coverage detected