Commit cd2f863
committed
fix: expose unload() JSI binding for TextToImageModule
TextToImage.unload() exists in C++ but was never registered as a JSI
host function, causing `TypeError: this.nativeModule.unload is not a
function` when calling BaseModule.delete() from JS.
Every other composite model (OCR, VerticalOCR, Kokoro, LLM) already
registers unload in its `if constexpr` block — this adds the same
one-liner for TextToImage.1 parent fdbd3e9 commit cd2f863
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
151 | 153 | | |
152 | 154 | | |
153 | 155 | | |
| |||
0 commit comments