()
| 137 | }, |
| 138 | |
| 139 | dispose() { |
| 140 | if (active && ctx != null) { |
| 141 | action.cancel(ctx, scene) |
| 142 | scene.restoreAll() |
| 143 | // Silent terminate: no onCancel. The caller (e.g. useDragAction's |
| 144 | // effect cleanup) is reacting to the parent unmounting and would |
| 145 | // loop the state machine if onCancel re-set the parent's state. |
| 146 | active = false |
| 147 | ctx = null |
| 148 | draft = null |
| 149 | dirtyMarked = new Set() |
| 150 | scene.resumeHistory() |
| 151 | } |
| 152 | }, |
| 153 | } |
| 154 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…