(message: ClientMessage)
| 348 | |
| 349 | unsubscribe(contexts: string[]): void { |
| 350 | const released: string[] = []; |
| 351 | for (const ctx of contexts) { |
| 352 | const current = this.activeContexts.get(ctx); |
| 353 | if (current === undefined) continue; |
| 354 | if (current <= 1) { |
| 355 | this.activeContexts.delete(ctx); |
| 356 | released.push(ctx); |
| 357 | } else { |
no test coverage detected