(port)
| 328 | } |
| 329 | |
| 330 | export function endLsUse(port) { |
| 331 | const entry = getLsEntryByPort(port); |
| 332 | if (!entry) return; |
| 333 | entry.activeRequests = Math.max(0, (entry.activeRequests || 0) - 1); |
| 334 | touchEntry(entry); |
| 335 | } |
| 336 | |
| 337 | export function beginLsMaintenanceUse(port) { |
| 338 | const entry = getLsEntryByPort(port); |
no test coverage detected