(id: string)
| 400 | } |
| 401 | |
| 402 | function unwatchSignal(id: string) { |
| 403 | const entry = signalDebugNodeMap.get(id); |
| 404 | if (entry?.watch) { |
| 405 | const watchNode = entry.watch.deref(); |
| 406 | if (watchNode && !watchNode.destroyed) { |
| 407 | watchNode.destroyed = true; |
| 408 | consumerDestroy(watchNode); |
| 409 | } |
| 410 | entry.watch = undefined; |
| 411 | } |
| 412 | } |
no test coverage detected